forked from leofabri/hassio_appliance-status-monitor
-
Notifications
You must be signed in to change notification settings - Fork 1
/
asm_microwave_ui_starter.yaml
47 lines (40 loc) · 2.31 KB
/
asm_microwave_ui_starter.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# --- Notes ---
# Copy and paste this file inside of your automations.yaml (it's located as the same level as the configuration.yaml)
# -------------
alias: Microwave - ASM
description: "[UI] Appliance State Monitor Automation - Control the state of the appliance using the power consumption values"
use_blueprint:
# Make sure you imported the blueprint before using this file.
path: leofabri/appliance-status-monitor.yaml
input:
#########################################################################
# Arbitrary variables | Change these according to your needs IMPORTANT! #
#########################################################################
# * Socket info
appliance_socket: switch.microwave_outlet # Please set this value to your outlet for this appliance
appliance_power_sensor: sensor.microwave_power # Please set value to your power meter for this appliance
# * Overload controls
appliance_overload_state_enabled: false # false = disabled. Important! If you enable option, please also set the appliance_suspended_sensor below
# appliance_suspended_sensor: input_number.potenza_1_sospesa # Overload indicator. You'll need a separate automation to detect overloads for this to work
# * Timing
delayed_job_ongoing_duration: 50 # seconds
delayed_job_completion_duration: 140 # seconds
job_completed_persistence_duration: 150 # seconds
# * Power Thresholds
# Don't know how to find the right power thresholds? Read the guide: <link>
appliance_starting_power_threshold: 5 # Watts
appliance_finishing_power_threshold: 2 # Watts
# * Extras
# appliance_job_completed_when_socket_is_off: true # default is false (disabled)
# _____________________ #
###########
# Helpers #
###########
# These match the enties created in the packages/ folder
# They are already matching the names, unless you changed them.
automation_self_trigger: input_boolean.microwave_automation_self_trigger
appliance_state_machine: input_select.microwave_state_machine
appliance_job_cycle: input_boolean.microwave_job_cycle
delayed_job_completion_timer: timer.microwave_delayed_job_completion_timer
delayed_job_ongoing_timer: timer.microwave_delayed_job_ongoing_timer
job_completed_persistence_timer: timer.microwave_job_completed_persistence_timer