1
0

Move helpers to yaml

This commit is contained in:
Przemek Grondek 2022-04-29 23:51:42 +02:00
parent 3899cd1832
commit 0c04b60e8a
3 changed files with 41 additions and 3 deletions

View File

@ -34,7 +34,7 @@
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.today_vacuumed
entity_id: input_boolean.vacuum_vacuumed_today
- choose:
- conditions:
- condition: state
@ -52,7 +52,7 @@
action:
- service: input_boolean.turn_off
target:
entity_id: input_boolean.today_vacuumed
entity_id: input_boolean.vacuum_vacuumed_today
- id: vacuum-clean-sensors
alias: '[Vacuum] Clean sensors'

View File

@ -24,6 +24,18 @@ input_boolean:
3d_printer_timelapse:
name: "3D printer timelapse"
icon: "mdi:camera-burst"
mute_doorbell:
name: "Mute doorbell"
icon: "mdi:bell-off"
pc_caffeine:
name: "PC Caffeine"
icon: "mdi:desktop-tower-monitor"
pc_sleeping:
name: "PC sleeping"
icon: "mdi:desktop-tower-monitor"
sleep_mode:
name: "Sleep mode"
icon: "mdi:weather-night"
vacuum_office:
name: "Vacuum Office"
icon: "mdi:chair-rolling"
@ -45,8 +57,34 @@ input_boolean:
vacuum_bathroom:
name: "Vacuum Bathroom"
icon: "mdi:shower"
vacuum_vacuumed_today:
name: "Vacuumed today"
icon: "mdi:robot-vacuum"
input_datetime:
alarm:
name: "Alarm time"
icon: "mdi:bell-sleep"
has_date: true
has_time: true
day_mode:
name: "Day mode time"
icon: "mdi:weather-sunset"
has_date: false
has_time: true
sleep_mode:
name: "Sleep mode time"
icon: "mdi:weather-night"
has_date: false
has_time: true
input_number:
power_price:
name: "Power Price"
icon: "mdi:transmission-tower"
min: 0
max: 2
step: 0.01
unit_of_measurement: zł/kWh
input_select:
home_mode:
name: Home mode

View File

@ -4,7 +4,7 @@ vacuum_today:
- choose:
- conditions:
- condition: state
entity_id: input_boolean.today_vacuumed
entity_id: input_boolean.vacuum_vacuumed_today
state: 'off'
sequence:
- choose: