mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
database should now be good and shouldn't cause random restarts
some other minor tweask and renames to appease the watchman
This commit is contained in:
@@ -9,8 +9,10 @@ cards:
|
||||
- type: entities
|
||||
title: Smart Devices
|
||||
entities:
|
||||
- entity: sensor.pixel_10_pro_battery_level
|
||||
name: Pixel 10 Pro
|
||||
- entity: sensor.pixel_7_battery_level
|
||||
name: Clint's Phone
|
||||
name: Pixel 7
|
||||
- type: entities
|
||||
title: Ecowitt Batteries
|
||||
entities:
|
||||
|
||||
@@ -26,3 +26,15 @@ cards:
|
||||
- entity: sensor.pixel_10_pro_charger_type
|
||||
- entity: binary_sensor.pixel_10_pro_android_auto
|
||||
title: Phone
|
||||
header:
|
||||
type: buttons
|
||||
entities:
|
||||
- entity: script.pixel_7_to_silent
|
||||
icon: mdi:volume-mute
|
||||
name: Silent
|
||||
- entity: script.pixel_7_to_vibrate
|
||||
icon: mdi:vibrate
|
||||
name: Vibrate
|
||||
- entity: script.pixel_10_to_normal_mode
|
||||
icon: mdi:phone-ring
|
||||
name: Normal
|
||||
|
||||
@@ -21,8 +21,8 @@ sections:
|
||||
cards:
|
||||
- type: markdown
|
||||
content: >-
|
||||
<h2> Missing Services: {{ states.sensor.watchman_missing_services.state }}</h2>
|
||||
{%- for item in state_attr("sensor.watchman_missing_services","entities") %}
|
||||
<h2> Missing Actions: {{ states.sensor.watchman_missing_actions.state }}</h2>
|
||||
{%- for item in state_attr("sensor.watchman_missing_actions","entities") %}
|
||||
<hr><table><tr><td><ha-icon icon='mdi:cloud-alert'></ha-icon> {{item.id }}
|
||||
<a title="{{item.occurrences}}">{{item.occurrences.split('/')[-1].split(':')[0]}}
|
||||
</a></td></tr></table>
|
||||
@@ -59,7 +59,7 @@ badges:
|
||||
show_name: true
|
||||
show_state: true
|
||||
show_icon: true
|
||||
entity: sensor.watchman_missing_services
|
||||
name: Missing Services
|
||||
entity: sensor.watchman_missing_actions
|
||||
name: Missing Actions
|
||||
tap_action:
|
||||
action: none
|
||||
|
||||
@@ -50,7 +50,7 @@ elements:
|
||||
# left: 76%
|
||||
# top: 9%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.master_bathroom_too_humid
|
||||
entity: binary_sensor.bathroom_multisensor_too_humid
|
||||
style:
|
||||
left: 76%
|
||||
top: 9%
|
||||
|
||||
@@ -51,7 +51,7 @@ elements:
|
||||
# left: 76%
|
||||
# top: 9%
|
||||
- type: state-icon
|
||||
entity: binary_sensor.utility_room_too_humid
|
||||
entity: binary_sensor.utility_room_multisensor_too_humid
|
||||
style:
|
||||
left: 76%
|
||||
top: 9%
|
||||
|
||||
@@ -386,7 +386,7 @@ cards:
|
||||
var temp = parseFloat(entity.state.replace("°", ""));
|
||||
if (temp < 58)
|
||||
return "temp-freeze";
|
||||
else if (temp < 64)
|
||||
else if (temp < 68)
|
||||
return "temp-low";
|
||||
else if (temp < 75)
|
||||
return "temp-medium";
|
||||
|
||||
@@ -447,13 +447,13 @@ badges:
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.watchman_missing_services
|
||||
- entity: sensor.watchman_missing_actions
|
||||
state_not: unavailable
|
||||
- entity: sensor.watchman_missing_services
|
||||
- entity: sensor.watchman_missing_actions
|
||||
state_not: "0"
|
||||
chip:
|
||||
type: entity
|
||||
entity: sensor.watchman_missing_services
|
||||
entity: sensor.watchman_missing_actions
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/watchman
|
||||
|
||||
Reference in New Issue
Block a user