Jump to content
  • 0

Home Assistant IHC mqtt light automation


Simon Thorsted
 Share

Question

Hej 

Det er langt om længe lykkes mig at få ihc ind i HA , og ved at tilføje : ihc_manual_setup.yaml med alle tryk/input

jeg har en smart pære der virker via lovelace 

kan tænde , dæmpe og slukke som den skal :

136821195_pre.JPG.7cd5909889e7d80f34ea1efee4d849aa.JPG    1019021585_pre1.JPG.1718c1dac2b2cb8e97416fd216ada6a8.JPG    1599633884_pre2.JPG.43dade30fc23132f93009fe7a27177d2.JPG

 

Entity (lys) :    light.bag_gang     ( mqtt pære ) 

Entity (tryk) :   binary_sensor.bryggers_til_bryggers_ved_fordoer_ov_180314    (  virker jeg kan se den skifter state i ihc oh HA  ) 

                        binary_sensor.bryggers_til_bryggers_ved_fordoer_oh_180570    (  virker jeg kan se den skifter state i ihc oh HA  ) 

Dette er toggle  automation

id: '1639047275709'
  alias: bryggers toggle
  description: ''
  trigger:
  - platform: state
    entity_id: binary_sensor.bryggers_ved_doer_ud_ov_179034
    to: 'on'
  - platform: state
    entity_id: binary_sensor.bryggers_til_bryggers_ved_fordoer_oh_180570
    to: 'on'
  - platform: state
    entity_id: binary_sensor.bryggers_til_bryggers_ved_fordoer_ov_180314
    to: 'on'
  - platform: state
    entity_id: binary_sensor.bryggers_ved_doer_ud_oh_179290
    to: 'on'
  condition: []
  action:
  - service: light.toggle
    data:
      brightness: 255
      color_name: white
    target:

 

Edited by Simon Thorsted
HACS INFO
Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...

Important Information

Privacy Policy og We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

1200x630bb.png

ok