mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-06-21 10:57:43 +00:00
Night mode override for Floorplan UI
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
input_boolean:
|
||||
floorplan_night_mode:
|
||||
initial: off
|
||||
|
||||
binary_sensor:
|
||||
- platform: template
|
||||
sensors:
|
||||
floorplan_night_mode:
|
||||
value_template: "{{ states('sun.sun') == 'below_horizon' or is_state('input_boolean.floorplan_night_mode', 'on') }}"
|
||||
|
||||
sensor:
|
||||
- platform: time_date
|
||||
display_options:
|
||||
|
||||
Reference in New Issue
Block a user