New scenes for HA standalone setup on raspi

- KNX buttons
- long click custom component
This commit is contained in:
Martin Bauer
2020-04-28 18:38:45 +00:00
parent c9c9c35561
commit 250556adc2
14 changed files with 1388 additions and 25 deletions

View File

@@ -45,7 +45,6 @@ def on_falling_edge(entity_id, from_state, to_state, hass, long_click_time):
hass.bus.fire('short_click', {'entity_id': entity_id})
else:
hass.bus.fire('long_click', {'entity_id': entity_id})
print("-------------------- long on falling edge", entity_id, duration)
del switch_on_times[entity_id]