mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
82 lines
2.4 KiB
YAML
82 lines
2.4 KiB
YAML
input_number:
|
|
keurig_on:
|
|
name: Keurig On
|
|
min: 0
|
|
max: 2000
|
|
step: 0.1
|
|
mode: box
|
|
|
|
keurig_warming_water:
|
|
name: Keurig Warming Water
|
|
min: 0
|
|
max: 2000
|
|
step: 0.1
|
|
mode: box
|
|
|
|
keurig_brewing:
|
|
name: Keurig Brewing
|
|
min: 0
|
|
max: 2000
|
|
step: 0.1
|
|
mode: box
|
|
|
|
keurig_pouring:
|
|
name: Keurig Pouring
|
|
min: 0
|
|
max: 2000
|
|
step: 0.1
|
|
mode: box
|
|
|
|
keurig_carafe:
|
|
name: Keurig Carafe
|
|
min: 0
|
|
max: 2000
|
|
step: 0.1
|
|
mode: box
|
|
|
|
|
|
template:
|
|
- binary_sensor:
|
|
- unique_id: templatebinarysensor.keurig
|
|
delay_on: 0:00:50
|
|
delay_off: 0:00:30
|
|
default_entity_id: binary_sensor.keurig
|
|
icon: mdi:coffee-maker
|
|
attributes:
|
|
model_number: K-Duo Essentials
|
|
serial_number: 5000 3100 08558 19
|
|
power: '{{ states("sensor.shelly_keurig_w") | float(default=0)}}'
|
|
target: '{{ states("input_number.keurig_brewing") | float(default=0)}}'
|
|
name: Keurig
|
|
state: '{{ states("sensor.shelly_keurig_w") | float(default=0) > states("input_number.keurig_on") | float(default=0) }}'
|
|
|
|
- unique_id: b1f4d3e2-3c4b-4f5a-9f6b-7e8d9a0b1c2d
|
|
name: Keurig Warming Water
|
|
delay_off: 0:00:20
|
|
default_entity_id: binary_sensor.keurig_warming_water
|
|
state: '{{ states("sensor.shelly_keurig_w") | float(default=0) > states("input_number.keurig_warming_water") | float(default=0) }}'
|
|
|
|
- unique_id: 58a3805b-aee7-4c1f-9299-6b5e31e3cc73
|
|
name: Keurig Brewing
|
|
default_entity_id: binary_sensor.keurig_brewing
|
|
state: '{{ states("sensor.shelly_keurig_w") | float(default=0) > states("input_number.keurig_brewing") | float(default=0) }}'
|
|
|
|
- unique_id: 4a7e80f6-8880-4c4e-b251-825aceb3db07
|
|
name: Keurig Pouring
|
|
default_entity_id: binary_sensor.keurig_pouring
|
|
state: '{{ states("sensor.shelly_keurig_w") | float(default=0) > states("input_number.keurig_pouring") | float(default=0) }}'
|
|
|
|
- unique_id: templatebinarysensor.keurig_carafe
|
|
delay_on: 0:04:00
|
|
delay_off: 0:00:40
|
|
default_entity_id: binary_sensor.keurig_carafe
|
|
icon: mdi:coffee-maker
|
|
attributes:
|
|
model_number: K-Duo Essentials
|
|
serial_number: 5000 3100 08558 19
|
|
power: '{{ states("sensor.shelly_keurig_w") | float(default=0)}}'
|
|
target: '{{ states("input_number.keurig_carafe") | float(default=0)}}'
|
|
name: Keurig Carafe
|
|
state: '{{ states("sensor.shelly_keurig_w") | float(default=0) > states("input_number.keurig_carafe")
|
|
| float(default=0) }}'
|