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

Automation homematic device

$
0
0

@bumann wrote:

Hi, i start with hass.io a few days ago.
I integrate zwave and homematic components via cc3.

Now i want to use the Homematic hardware button to switch the light connected to zwave.
I can switch the zwave light from gui.

So i look into log to get the id from homematic button:

2019-12-24 14:14:16 INFO (Thread-2) [pyhomematic.devicetypes.generic] HMGeneric.event: address=000193C99D4A69:1, interface_id=homeassistant-HMIP, key=PRESS_SHORT, value=True

i write down to configuration.yaml

automation test:
   trigger:
     platform: event
     event_type: homematic.keypress
     event_data:
       name: 000193C99D4A69
       channel: 1
       param: PRESS_SHORT
   action:
     service: switch.turn_on
     entity_id: switch.qubino_goap_zmnhbdx_flush_2_relays_switch

i confused about the configuration files. is it possible to write the config into configuration.yaml or should i write it to automations.yaml

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>