New scenes for HA standalone setup on raspi
- KNX buttons - long click custom component
This commit is contained in:
@@ -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]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user