Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 106772

Can't get my first automation to work

$
0
0

OK, “New to HA”, Trying to learn automations for Insteon devices.

I have been working on this and I am just stuck. I have an Insteon open/close sensor and I am trying link it to a lamplink on/off dimmer module. I have finally gotten it to work (occasionally) When I initially start the automation by opening the sensor, the lamplink comes on, stays on and all is good. But when I close the sensor, wait a while and try the second or subsequent times either the lamplink doesn’t fire at all, or sometimes it comes on only to go back off after 10-15 seconds.

Here are my settings:
Home Assistant 2022.7.6
Supervisor 2022.07.0
Operating System 8.2
Frontend 20220707.1 - latest

And here is the code form automations.yaml

- id: '1658447125407'
  alias: Open_Close
  description: ''
  trigger:
  - type: opened
    platform: device
    device_id: 2375c1abe1649d107a860c9b9b9795e4
    entity_id: binary_sensor.open_close_sensor_2d_dc_fe
    domain: binary_sensor
  condition: []
  action:
  - service: light.turn_on
    data:
      brightness_pct: 100
    target:
      entity_id: light.lamplinc_dimmer_18_a1_da
  mode: single

Also if I have broken some protocol with this post also please let me know, it’s my first post to the forums.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 106772

Trending Articles