Move helpers to yaml
This commit is contained in:
parent
3899cd1832
commit
0c04b60e8a
3 changed files with 41 additions and 3 deletions
|
@ -34,7 +34,7 @@
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_on
|
- service: input_boolean.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: input_boolean.today_vacuumed
|
entity_id: input_boolean.vacuum_vacuumed_today
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
|
@ -52,7 +52,7 @@
|
||||||
action:
|
action:
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
target:
|
target:
|
||||||
entity_id: input_boolean.today_vacuumed
|
entity_id: input_boolean.vacuum_vacuumed_today
|
||||||
|
|
||||||
- id: vacuum-clean-sensors
|
- id: vacuum-clean-sensors
|
||||||
alias: '[Vacuum] Clean sensors'
|
alias: '[Vacuum] Clean sensors'
|
||||||
|
|
|
@ -24,6 +24,18 @@ input_boolean:
|
||||||
3d_printer_timelapse:
|
3d_printer_timelapse:
|
||||||
name: "3D printer timelapse"
|
name: "3D printer timelapse"
|
||||||
icon: "mdi:camera-burst"
|
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:
|
vacuum_office:
|
||||||
name: "Vacuum Office"
|
name: "Vacuum Office"
|
||||||
icon: "mdi:chair-rolling"
|
icon: "mdi:chair-rolling"
|
||||||
|
@ -45,8 +57,34 @@ input_boolean:
|
||||||
vacuum_bathroom:
|
vacuum_bathroom:
|
||||||
name: "Vacuum Bathroom"
|
name: "Vacuum Bathroom"
|
||||||
icon: "mdi:shower"
|
icon: "mdi:shower"
|
||||||
|
vacuum_vacuumed_today:
|
||||||
|
name: "Vacuumed today"
|
||||||
|
icon: "mdi:robot-vacuum"
|
||||||
input_datetime:
|
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:
|
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:
|
input_select:
|
||||||
home_mode:
|
home_mode:
|
||||||
name: Home mode
|
name: Home mode
|
||||||
|
|
|
@ -4,7 +4,7 @@ vacuum_today:
|
||||||
- choose:
|
- choose:
|
||||||
- conditions:
|
- conditions:
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.today_vacuumed
|
entity_id: input_boolean.vacuum_vacuumed_today
|
||||||
state: 'off'
|
state: 'off'
|
||||||
sequence:
|
sequence:
|
||||||
- choose:
|
- choose:
|
||||||
|
|
Loading…
Reference in a new issue