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:
CeeWeasel
2026-02-10 09:26:10 -05:00
parent 6003d60774
commit 105fb7cf86
19 changed files with 87 additions and 50 deletions
+1
View File
@@ -46,6 +46,7 @@ rtl_433/
tts/
/lovelace/private
model_cache/
www/mail_and_packages/*
secrets.yaml
google_calendars.yaml
+4 -4
View File
@@ -34,16 +34,16 @@ action:
above: 0
value_template: "{{ dict((states|selectattr('entity_id', 'in', state_attr('group.person_clint', 'entity_id'))|list)|groupby('state'))['home']|count }}"
- condition: state
entity_id: sensor.pixel_10_pro_wifi_connection
entity_id: sensor.pixel_10_pro_wi_fi_connection
state: "DreamWeaver"
- condition: state
entity_id: sensor.pixel_10_pro_wifi_connection
entity_id: sensor.pixel_10_pro_wi_fi_connection
state: "DreamIoT-2G"
- condition: state
entity_id: sensor.pixel_10_pro_wifi_connection
entity_id: sensor.pixel_10_pro_wi_fi_connection
state: "pozfam"
- condition: state
entity_id: sensor.pixel_10_pro_wifi_connection
entity_id: sensor.pixel_10_pro_wi_fi_connection
state: "pozfam-2.4G"
- condition: trigger
id: "car_home"
+10 -4
View File
@@ -37,16 +37,22 @@ action:
target:
entity_id: input_select.master_bedroom_mode
- action: media_player.shuffle_set
target:
entity_id: media_player.ma_bedroom_hub
data:
shuffle: true
- action: music_assistant.play_media
target:
#entity_id: media_player.ma_home_assistant_voice_097b44_media_player
entity_id: media_player.ma_bedroom_hub
data:
media_type: playlist
#media_id: library://playlist/7
media_id: >
{% set playlists = ['library://playlist/33','library://playlist/32','library://playlist/21','library://playlist/28','library://playlist/27','library://playlist/22','library://playlist/29','library://playlist/36','library://playlist/23','library://playlist/12','library://playlist/34','library://playlist/35','library://playlist/19'] %}
{{ playlists|random }}
media_id: library://playlist/7
#media_id: >
# {% set playlists = ['library://playlist/32','library://playlist/9'] %}
# {{ playlists|random }}
enqueue: replace
- action: script.wake_the_bedroom
+1
View File
@@ -30,6 +30,7 @@ recorder:
- sensor.mail_updated
- light.upstairs_public
- sensor.nws_alerts_last_updated
- sensor.pixel_7_active_notification_count
- sensor.pixel_10_pro_active_notification_count
entity_globs:
- sensor.*_text
+3 -3
View File
@@ -1,5 +1,5 @@
lovelace:
mode: yaml
resource_mode: yaml
resources: !include ../../lovelace/resources.yaml
dashboards:
lovelace-yaml:
@@ -7,7 +7,7 @@ lovelace:
title: Daddy's House
icon: mdi:home
show_in_sidebar: true
filename: ui-lovelace.yaml
filename: ui-cleverhome.yaml
data-yml:
mode: yaml
title: Data
@@ -37,7 +37,7 @@ lovelace:
title: Casting
icon: mdi:cast
show_in_sidebar: false
filename: ui-cast.yaml
filename: ui-casting.yaml
details-yml:
mode: yaml
title: Details
@@ -3,7 +3,7 @@ template:
- unique_id: templatebinarysensor.pixel_10_pro_connected_to_traverse
default_entity_id: binary_sensor.pixel_10_pro_connected_to_traverse
icon: mdi:cellphone-key
name: Pixel 7 Connected to Traverse
name: Pixel 10 Connected to Traverse
state: "{{ '30:C3:D9:B0:CA:E4 (Chevrolet MyLink)' in state_attr('sensor.pixel_10_pro_bluetooth_connection','connected_paired_devices') }}"
- unique_id: templatebinarysensor.humidity_too_low
+42 -27
View File
@@ -16,40 +16,55 @@ esphome:
name_add_mac_suffix: false
friendly_name: ${friendly_name}
api:
reboot_timeout: 15min
encryption:
key: !secret api-encryption-key
ota:
- platform: esphome
password: !secret ota-password
captive_portal:
button:
- id: !remove local_restart_button
sensor:
- id: !remove heap_free_sensor
- id: !remove loop_time_sensor
# forget all of this extending bullshit and implement this:
# https://www.home-assistant.io/integrations/universal/
switch:
- platform: template
name: "External Power Switch"
id: external_power_switch
turn_on_action:
- logger.log: "External Power Switch turned on"
- media_player.turn_on:
id: external_media_player
# - lambda: return;
turn_off_action:
- logger.log: "External Power Switch turned off"
- media_player.turn_off:
id: external_media_player
# - lambda: return;
# switch:
# - platform: template
# name: "External Power Switch"
# id: external_power_switch
# turn_on_action:
# - logger.log: "External Power Switch turned on"
# - media_player.turn_on:
# id: external_media_player
# # - lambda: return;
# turn_off_action:
# - logger.log: "External Power Switch turned off"
# - media_player.turn_off:
# id: external_media_player
# # - lambda: return;
media_player:
- id: !extend external_media_player
# media_player:
# - id: !extend external_media_player
# Define the actions Home Assistant will call
on_turn_on:
- logger.log: "Media Player Turned On via on_turn_on action"
# - lambda: |-
# // No action needed, Home Assistant can call this service
# return;
# # Define the actions Home Assistant will call
# on_turn_on:
# - logger.log: "Media Player Turned On via on_turn_on action"
# # - lambda: |-
# # // No action needed, Home Assistant can call this service
# # return;
on_turn_off:
- logger.log: "Media Player Turned Off via on_turn_off action"
# - lambda: |-
# // No action needed, Home Assistant can call this service
# return;
# on_turn_off:
# - logger.log: "Media Player Turned Off via on_turn_off action"
# # - lambda: |-
# # // No action needed, Home Assistant can call this service
# # return;
+3 -1
View File
@@ -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:
+12
View File
@@ -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
+4 -4
View File
@@ -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
+1 -1
View File
@@ -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%
+1 -1
View File
@@ -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%
+1 -1
View File
@@ -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";
+3 -3
View File
@@ -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
View File
Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 63 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB