Updated on_click actions to dictionaries.
This commit is contained in:
		| @@ -136,7 +136,7 @@ sensor: | ||||
|     unit_of_measurement: V | ||||
|     update_interval: 15s | ||||
|     accuracy_decimals: 3 | ||||
|     attenuation: 11db | ||||
|     attenuation: 12db | ||||
|     raw: true | ||||
|     filters: | ||||
|       - multiply: 0.00173913  # 2300 -> 4, for attenuation 11db, based on Olivier's code | ||||
| @@ -157,7 +157,8 @@ binary_sensor: | ||||
|     name: Volume Up | ||||
|     id: volume_up | ||||
|     on_click: | ||||
|       - media_player.volume_up: luxe_out | ||||
|       - media_player.volume_up:  | ||||
|           id: luxe_out | ||||
|   - platform: gpio | ||||
|     pin: | ||||
|       number: GPIO32 | ||||
| @@ -168,7 +169,8 @@ binary_sensor: | ||||
|     name: Volume Down | ||||
|     id: volume_down | ||||
|     on_click: | ||||
|       - media_player.volume_down: luxe_out | ||||
|       - media_player.volume_down:  | ||||
|           id: luxe_out | ||||
|   - platform: gpio | ||||
|     pin: | ||||
|       number: GPIO12 | ||||
| @@ -183,7 +185,8 @@ binary_sensor: | ||||
|           - ON FOR AT MOST 350ms | ||||
|           - OFF FOR AT LEAST 10ms | ||||
|         then: | ||||
|           - media_player.toggle: luxe_out | ||||
|           - media_player.toggle:  | ||||
|               id: luxe_out | ||||
|       - timing: | ||||
|           - ON FOR AT LEAST 350ms | ||||
|         then: | ||||
|   | ||||
		Reference in New Issue
	
	Block a user