organized control panel settings
This commit is contained in:
parent
fc560dfde0
commit
3a54be8a2f
|
@ -1,27 +1,10 @@
|
|||
title: Settings
|
||||
icon: mdi:settings
|
||||
cards:
|
||||
|
||||
- type: vertical-stack
|
||||
cards:
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
name: Home Alarm Clock
|
||||
entity: input_boolean.alarm_clock
|
||||
icon: mdi:alarm
|
||||
color_type: card
|
||||
style:
|
||||
- font-weight: bold
|
||||
- color: rgb(0, 0, 5)
|
||||
state:
|
||||
- value: 'on'
|
||||
color: var(--primary-color)
|
||||
action: toggle
|
||||
toggle:
|
||||
domain: input_boolean
|
||||
action: alarm_clock
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Light Automations
|
||||
entity: input_boolean.light_automations
|
||||
|
@ -70,40 +53,6 @@ cards:
|
|||
domain: input_boolean
|
||||
action: voice_notifications
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
name: Trash Notifications
|
||||
entity: input_boolean.trash_reminders
|
||||
icon: mdi:recycle
|
||||
color_type: card
|
||||
style:
|
||||
- font-weight: bold
|
||||
- color: rgb(0, 0, 5)
|
||||
state:
|
||||
- value: 'on'
|
||||
color: var(--primary-color)
|
||||
action: toggle
|
||||
toggle:
|
||||
domain: input_boolean
|
||||
action: trash_reminders
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Camera Alerts
|
||||
entity: input_boolean.notify_camera_alerts
|
||||
icon: mdi:cctv
|
||||
color_type: card
|
||||
style:
|
||||
- font-weight: bold
|
||||
- color: rgb(0, 0, 5)
|
||||
state:
|
||||
- value: 'on'
|
||||
color: var(--primary-color)
|
||||
action: toggle
|
||||
toggle:
|
||||
domain: input_boolean
|
||||
action: notify_camera_alerts
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Location Alerts
|
||||
entity: input_boolean.zone_alerts
|
||||
|
@ -120,6 +69,9 @@ cards:
|
|||
domain: input_boolean
|
||||
action: zone_alerts
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Movie Time Popcorn
|
||||
entity: input_boolean.movie_time
|
||||
|
@ -136,24 +88,6 @@ cards:
|
|||
domain: input_boolean
|
||||
action: movie_time
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
- type: "custom:button-card"
|
||||
name: Security System
|
||||
entity: input_boolean.security_system_alerts
|
||||
icon: mdi:shield-outline
|
||||
color_type: card
|
||||
style:
|
||||
- font-weight: bold
|
||||
- color: rgb(0, 0, 5)
|
||||
state:
|
||||
- value: 'on'
|
||||
color: var(--primary-color)
|
||||
action: toggle
|
||||
toggle:
|
||||
domain: input_boolean
|
||||
action: security_system_alerts
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Hourly Report
|
||||
entity: input_boolean.hourly_report
|
||||
|
@ -187,9 +121,9 @@ cards:
|
|||
action: nightly_report
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Working in Garage
|
||||
entity: input_boolean.working_in_garage
|
||||
icon: mdi:garage-alert
|
||||
name: Good Weather
|
||||
entity: input_boolean.enjoyable_weather_reminders
|
||||
icon: mdi:weather-windy-variant
|
||||
color_type: card
|
||||
style:
|
||||
- font-weight: bold
|
||||
|
@ -200,7 +134,7 @@ cards:
|
|||
action: toggle
|
||||
toggle:
|
||||
domain: input_boolean
|
||||
action: working_in_garage
|
||||
action: enjoyable_weather_reminders
|
||||
|
||||
- type: horizontal-stack
|
||||
cards:
|
||||
|
@ -221,9 +155,9 @@ cards:
|
|||
action: working_in_office_room
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Battery Notifications
|
||||
entity: input_boolean.battery_notifications
|
||||
icon: mdi:battery-charging-wireless-60
|
||||
name: Working in Garage
|
||||
entity: input_boolean.working_in_garage
|
||||
icon: mdi:garage-alert
|
||||
color_type: card
|
||||
style:
|
||||
- font-weight: bold
|
||||
|
@ -234,45 +168,27 @@ cards:
|
|||
action: toggle
|
||||
toggle:
|
||||
domain: input_boolean
|
||||
action: battery_notifications
|
||||
action: working_in_garage
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Good Weather
|
||||
entity: input_boolean.enjoyable_weather_reminders
|
||||
icon: mdi:weather-windy-variant
|
||||
color_type: card
|
||||
style:
|
||||
- font-weight: bold
|
||||
- color: rgb(0, 0, 5)
|
||||
state:
|
||||
- value: 'on'
|
||||
color: var(--primary-color)
|
||||
action: toggle
|
||||
toggle:
|
||||
domain: input_boolean
|
||||
action: enjoyable_weather_reminders
|
||||
|
||||
- type: "custom:button-card"
|
||||
name: Text/IFTTT Alerts
|
||||
entity: input_boolean.text_alerts
|
||||
icon: mdi:message-text
|
||||
color_type: card
|
||||
style:
|
||||
- font-weight: bold
|
||||
- color: rgb(0, 0, 5)
|
||||
state:
|
||||
- value: 'on'
|
||||
color: var(--primary-color)
|
||||
action: toggle
|
||||
toggle:
|
||||
domain: input_boolean
|
||||
action: text_alerts
|
||||
|
||||
- type: entities
|
||||
title: Control Panel
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- input_number.calendar_remind_before_days
|
||||
- input_number.battery_alert_threshold
|
||||
|
||||
- type: entities
|
||||
title: Alerts & Notifications
|
||||
show_header_toggle: false
|
||||
entities:
|
||||
- input_boolean.garage_door_notifications
|
||||
- input_boolean.battery_notifications
|
||||
- input_boolean.text_alerts
|
||||
- input_boolean.security_system_alerts
|
||||
- input_boolean.notify_camera_alerts
|
||||
- input_boolean.alarm_clock
|
||||
- input_boolean.trash_reminders
|
||||
|
||||
- type: entities
|
||||
title: Bed & Wakeup Times
|
||||
|
|
|
@ -416,6 +416,9 @@ automation:
|
|||
{%- for x in states if x.attributes and x.attributes.battery_level and x.attributes.battery_level |int <= 24 %}
|
||||
{% set ns.lowBattery = true %}{% endfor %}
|
||||
{{ ns.lowBattery }}
|
||||
condition:
|
||||
- condition: template
|
||||
value_template: "{{ ((trigger.to_state.state | int) < states('sensor.battery_alert_threshold') | int) }}"
|
||||
action:
|
||||
- service: script.voice_notify
|
||||
data_template:
|
||||
|
|
|
@ -169,6 +169,8 @@ automation:
|
|||
value_template: "{% if trigger.from_state %} True {% else %} False {% endif %}"
|
||||
- condition: template
|
||||
value_template: "{{ trigger.to_state.state != 'unknown' }}"
|
||||
- condition: template
|
||||
value_template: "{{ states('input_boolean.garage_door_notifications') == 'on' }}"
|
||||
action:
|
||||
- service: switch.turn_on
|
||||
entity_id: switch.garage
|
||||
|
|
|
@ -134,6 +134,14 @@ input_number:
|
|||
min: 1
|
||||
max: 15
|
||||
step: 1
|
||||
mode: box
|
||||
battery_alert_threshold:
|
||||
name: Notify Low Battery if goes below
|
||||
initial: 4
|
||||
min: 1
|
||||
max: 100
|
||||
step: 1
|
||||
mode: box
|
||||
|
||||
sensor:
|
||||
- platform: template
|
||||
|
@ -299,6 +307,11 @@ input_boolean:
|
|||
initial: on
|
||||
icon: mdi:map-marker
|
||||
|
||||
garage_door_notifications:
|
||||
name: Garage Door Notifications
|
||||
initial: on
|
||||
icon: mdi:garage
|
||||
|
||||
###############################################################################
|
||||
# _ _ _
|
||||
# /\ | | | | (_)
|
||||
|
|
|
@ -34,8 +34,8 @@
|
|||
</CommandClass>
|
||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||
<Instance index="1" />
|
||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="70.8" />
|
||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="18" />
|
||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="70.7" />
|
||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||
<Value type="decimal" genre="user" instance="1" index="4" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="46" />
|
||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="45" />
|
||||
</CommandClass>
|
||||
|
@ -728,9 +728,9 @@
|
|||
</CommandClass>
|
||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||
<Instance index="1" />
|
||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="74.9" />
|
||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="74.8" />
|
||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="48" />
|
||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="49" />
|
||||
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||
</CommandClass>
|
||||
<CommandClass id="90" name="COMMAND_CLASS_DEVICE_RESET_LOCALLY" version="1" request_flags="4" innif="true">
|
||||
|
@ -984,7 +984,7 @@
|
|||
</CommandClass>
|
||||
<CommandClass id="37" name="COMMAND_CLASS_SWITCH_BINARY" version="1" request_flags="4" innif="true">
|
||||
<Instance index="1" />
|
||||
<Value type="bool" genre="user" instance="1" index="0" label="Switch" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="True" />
|
||||
<Value type="bool" genre="user" instance="1" index="0" label="Switch" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||
</CommandClass>
|
||||
<CommandClass id="38" name="COMMAND_CLASS_SWITCH_MULTILEVEL" version="2" innif="true">
|
||||
<Instance index="1" />
|
||||
|
@ -1006,12 +1006,12 @@
|
|||
</CommandClass>
|
||||
<CommandClass id="50" name="COMMAND_CLASS_METER" version="3" request_flags="2" innif="true">
|
||||
<Instance index="1" />
|
||||
<Value type="decimal" genre="user" instance="1" index="0" label="Energy" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="42.957" />
|
||||
<Value type="decimal" genre="user" instance="1" index="1" label="Previous Reading" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="41.730" />
|
||||
<Value type="int" genre="user" instance="1" index="2" label="Interval" units="seconds" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="65535" />
|
||||
<Value type="decimal" genre="user" instance="1" index="8" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="17.369" />
|
||||
<Value type="decimal" genre="user" instance="1" index="16" label="Voltage" units="V" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="123.063" />
|
||||
<Value type="decimal" genre="user" instance="1" index="20" label="Current" units="A" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.250" />
|
||||
<Value type="decimal" genre="user" instance="1" index="0" label="Energy" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="42.959" />
|
||||
<Value type="decimal" genre="user" instance="1" index="1" label="Previous Reading" units="kWh" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="42.958" />
|
||||
<Value type="int" genre="user" instance="1" index="2" label="Interval" units="seconds" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="-2147483648" max="2147483647" value="977" />
|
||||
<Value type="decimal" genre="user" instance="1" index="8" label="Power" units="W" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.000" />
|
||||
<Value type="decimal" genre="user" instance="1" index="16" label="Voltage" units="V" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="123.320" />
|
||||
<Value type="decimal" genre="user" instance="1" index="20" label="Current" units="A" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0.000" />
|
||||
<Value type="bool" genre="user" instance="1" index="32" label="Exporting" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="False" />
|
||||
<Value type="button" genre="system" instance="1" index="33" label="Reset" units="" read_only="false" write_only="true" verify_changes="false" poll_intensity="0" min="0" max="0" />
|
||||
</CommandClass>
|
||||
|
@ -1190,8 +1190,8 @@
|
|||
<Item label="Saturday" value="6" />
|
||||
<Item label="Sunday" value="7" />
|
||||
</Value>
|
||||
<Value type="byte" genre="user" instance="1" index="1" label="Hour" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="17" />
|
||||
<Value type="byte" genre="user" instance="1" index="2" label="Minute" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="55" />
|
||||
<Value type="byte" genre="user" instance="1" index="1" label="Hour" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="18" />
|
||||
<Value type="byte" genre="user" instance="1" index="2" label="Minute" units="" read_only="false" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="19" />
|
||||
</CommandClass>
|
||||
<CommandClass id="130" name="COMMAND_CLASS_HAIL" version="1" request_flags="4" after_mark="true" innif="true">
|
||||
<Instance index="1" />
|
||||
|
@ -1809,7 +1809,7 @@
|
|||
</CommandClass>
|
||||
</CommandClasses>
|
||||
</Node>
|
||||
<Node id="27" name="Wallmote" location="" basic="4" generic="24" specific="1" roletype="4" devicetype="7172" nodetype="0" type="Basic Wall Controller" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||
<Node id="27" name="Wallmote" location="" basic="4" generic="24" specific="1" roletype="4" devicetype="7172" nodetype="0" type="Basic Wall Controller" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Session">
|
||||
<Manufacturer id="86" name="Aeotec">
|
||||
<Product type="102" id="82" name="ZW130 WallMote Quad" />
|
||||
</Manufacturer>
|
||||
|
@ -2132,7 +2132,7 @@
|
|||
</CommandClass>
|
||||
</CommandClasses>
|
||||
</Node>
|
||||
<Node id="29" name="Garage Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||
<Node id="29" name="Garage Door Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3072" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Session">
|
||||
<Manufacturer id="14a" name="Ecolink">
|
||||
<Product type="4" id="2" name="Unknown: type=0004, id=0002" />
|
||||
</Manufacturer>
|
||||
|
@ -2238,7 +2238,7 @@
|
|||
</CommandClass>
|
||||
</CommandClasses>
|
||||
</Node>
|
||||
<Node id="31" name="Aeotec Water Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3079" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||
<Node id="31" name="Aeotec Water Sensor" location="" basic="4" generic="7" specific="1" roletype="6" devicetype="3079" nodetype="0" type="Notification Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Associations">
|
||||
<Manufacturer id="86" name="Aeotec">
|
||||
<Product type="102" id="7a" name="Unknown: type=0102, id=007a" />
|
||||
</Manufacturer>
|
||||
|
@ -2381,7 +2381,7 @@
|
|||
</CommandClass>
|
||||
</CommandClasses>
|
||||
</Node>
|
||||
<Node id="34" name="TV Multi Sensor" location="" basic="4" generic="33" specific="1" roletype="6" devicetype="3079" nodetype="0" type="Routing Multilevel Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="CacheLoad">
|
||||
<Node id="34" name="TV Multi Sensor" location="" basic="4" generic="33" specific="1" roletype="6" devicetype="3079" nodetype="0" type="Routing Multilevel Sensor" listening="false" frequentListening="false" beaming="true" routing="true" max_baud_rate="40000" version="4" query_stage="Complete">
|
||||
<Manufacturer id="86" name="Aeotec">
|
||||
<Product type="102" id="64" name="ZW100 MultiSensor 6" />
|
||||
</Manufacturer>
|
||||
|
@ -2405,7 +2405,7 @@
|
|||
</CommandClass>
|
||||
<CommandClass id="49" name="COMMAND_CLASS_SENSOR_MULTILEVEL" version="5" innif="true">
|
||||
<Instance index="1" />
|
||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="76.3" />
|
||||
<Value type="decimal" genre="user" instance="1" index="1" label="Temperature" units="F" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="76.1" />
|
||||
<Value type="decimal" genre="user" instance="1" index="3" label="Luminance" units="lux" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||
<Value type="decimal" genre="user" instance="1" index="5" label="Relative Humidity" units="%" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="46" />
|
||||
<Value type="decimal" genre="user" instance="1" index="27" label="Ultraviolet" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="0" value="0" />
|
||||
|
@ -2579,7 +2579,7 @@
|
|||
<Value type="byte" genre="user" instance="1" index="0" label="Alarm Type" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||
<Value type="byte" genre="user" instance="1" index="1" label="Alarm Level" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||
<Value type="byte" genre="user" instance="1" index="2" label="SourceNodeId" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="0" />
|
||||
<Value type="byte" genre="user" instance="1" index="10" label="Burglar" units="" read_only="true" write_only="false" verify_changes="false" poll_intensity="0" min="0" max="255" value="254" />
|
||||
</CommandClass>
|
||||
<CommandClass id="114" name="COMMAND_CLASS_MANUFACTURER_SPECIFIC" version="1" request_flags="4" innif="true">
|
||||
<Instance index="1" />
|
||||
|
|
Loading…
Reference in New Issue