mirror of
https://github.com/CCOSTAN/Home-AssistantConfig.git
synced 2025-06-14 03:48:53 +00:00
Lots of little maintenance updates across the environment thanks to Spook
This commit is contained in:
parent
ffb52d7302
commit
047f3a3a8c
@ -1 +1 @@
|
|||||||
2025.2.5
|
2025.3.3
|
@ -130,3 +130,58 @@ cards:
|
|||||||
tap_action:
|
tap_action:
|
||||||
action: toggle
|
action: toggle
|
||||||
card_layout: large
|
card_layout: large
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
button_type: state
|
||||||
|
entity: group.exterior_lights
|
||||||
|
name: Exterior Lights
|
||||||
|
icon: mdi:palm-tree
|
||||||
|
show_state: true
|
||||||
|
show_attribute: false
|
||||||
|
show_last_changed: true
|
||||||
|
grid_options:
|
||||||
|
columns: 6
|
||||||
|
rows: 1
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: button
|
||||||
|
entity: sensor.lights_on_count
|
||||||
|
name: Lights On
|
||||||
|
icon: mdi:lightbulb-on-outline
|
||||||
|
show_state: true
|
||||||
|
tap_action:
|
||||||
|
action: navigate
|
||||||
|
navigation_path: "#lights-popup"
|
||||||
|
button_action:
|
||||||
|
tap_action:
|
||||||
|
action: navigate
|
||||||
|
navigation_path: "#lights-popup"
|
||||||
|
- type: vertical-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:bubble-card
|
||||||
|
card_type: pop-up
|
||||||
|
hash: "#lights-popup"
|
||||||
|
name: Lights Control
|
||||||
|
icon: mdi:lightbulb-group
|
||||||
|
width_desktop: 500px
|
||||||
|
show_header: true
|
||||||
|
entity: sensor.lights_on_count
|
||||||
|
button_type: name
|
||||||
|
- type: custom:auto-entities
|
||||||
|
filter:
|
||||||
|
include:
|
||||||
|
- domain: light
|
||||||
|
exclude:
|
||||||
|
- state: "off"
|
||||||
|
- state: unavailable
|
||||||
|
- hidden_by: user
|
||||||
|
show_empty: true
|
||||||
|
entity: sensor.lights_on_count
|
||||||
|
button_type: state
|
||||||
|
show_name: true
|
||||||
|
card:
|
||||||
|
type: custom:auto-entities
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
filter:
|
||||||
|
include: []
|
||||||
|
exclude: []
|
||||||
|
53
config/UI YAML/Overview/Power_Stack.yaml
Executable file
53
config/UI YAML/Overview/Power_Stack.yaml
Executable file
@ -0,0 +1,53 @@
|
|||||||
|
# Power Stack Card Configuration
|
||||||
|
# For more information visit: https://www.vcloudinfo.com/click-here
|
||||||
|
|
||||||
|
type: vertical-stack
|
||||||
|
cards:
|
||||||
|
- type: grid
|
||||||
|
cards:
|
||||||
|
- type: custom:power-flow-card-plus
|
||||||
|
entities:
|
||||||
|
battery:
|
||||||
|
state_of_charge: sensor.powerwall_charge
|
||||||
|
entity: sensor.powerwall_battery_power
|
||||||
|
use_metadata: false
|
||||||
|
invert_state: false
|
||||||
|
state_of_charge_unit_white_space: true
|
||||||
|
show_state_of_charge: true
|
||||||
|
grid:
|
||||||
|
secondary_info: {}
|
||||||
|
entity: sensor.powerwall_site_power
|
||||||
|
solar:
|
||||||
|
display_zero_state: true
|
||||||
|
secondary_info: {}
|
||||||
|
entity: sensor.powerwall_solar_power
|
||||||
|
icon: mdi:white-balance-sunny
|
||||||
|
color_icon: true
|
||||||
|
home:
|
||||||
|
secondary_info: {}
|
||||||
|
entity: sensor.powerwall_load_power
|
||||||
|
clickable_entities: true
|
||||||
|
display_zero_lines:
|
||||||
|
mode: grey_out
|
||||||
|
transparency: 50
|
||||||
|
grey_color:
|
||||||
|
- 189
|
||||||
|
- 189
|
||||||
|
- 189
|
||||||
|
use_new_flow_rate_model: true
|
||||||
|
w_decimals: 0
|
||||||
|
kw_decimals: 1
|
||||||
|
min_flow_rate: 0.75
|
||||||
|
max_flow_rate: 4
|
||||||
|
max_expected_power: 2000
|
||||||
|
min_expected_power: 0.01
|
||||||
|
watt_threshold: 1000
|
||||||
|
transparency_zero_lines: 0
|
||||||
|
grid_options:
|
||||||
|
columns: full
|
||||||
|
rows: auto
|
||||||
|
- type: vertical-stack
|
||||||
|
cards:
|
||||||
|
- type: energy-solar-graph
|
||||||
|
- type: energy-water-graph
|
||||||
|
|
@ -1,43 +0,0 @@
|
|||||||
######################################################################
|
|
||||||
## Stuff that needs to happen at 08:30am.
|
|
||||||
######################################################################
|
|
||||||
|
|
||||||
- alias: 'Kids 700'
|
|
||||||
id: 3e0c4f40-0d55-42a0-9af9-37124b1b9b8b
|
|
||||||
mode: single
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: '08:30:00'
|
|
||||||
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: group.family
|
|
||||||
state: home
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.school_mode
|
|
||||||
state: 'on'
|
|
||||||
- condition: time
|
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
|
|
||||||
action:
|
|
||||||
- service: homeassistant.turn_on
|
|
||||||
entity_id:
|
|
||||||
- light.d1
|
|
||||||
- light.d2
|
|
||||||
- switch.office_lamp_switch_socket
|
|
||||||
- service: light.turn_off
|
|
||||||
entity_id:
|
|
||||||
- light.dining_room_lights
|
|
||||||
|
|
||||||
- wait_template: >-
|
|
||||||
{{ states.sun.sun.state == 'above_horizon' }}
|
|
||||||
- service: homeassistant.turn_off
|
|
||||||
entity_id:
|
|
||||||
- group.kitchen_accents
|
|
||||||
- service: light.turn_off
|
|
||||||
entity_id: all
|
|
@ -1,36 +0,0 @@
|
|||||||
######################################################################
|
|
||||||
## Stuff that needs to happen at 08:00am.
|
|
||||||
######################################################################
|
|
||||||
|
|
||||||
- alias: 'Timed 0800'
|
|
||||||
id: 7bf33e23-021c-4e11-946b-b052b81fd2bc
|
|
||||||
mode: single
|
|
||||||
trigger:
|
|
||||||
- platform: time
|
|
||||||
at: '08:00:00'
|
|
||||||
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: group.family
|
|
||||||
state: home
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.school_mode
|
|
||||||
state: 'on'
|
|
||||||
- condition: time
|
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
|
|
||||||
action:
|
|
||||||
- service: homeassistant.turn_on
|
|
||||||
entity_id:
|
|
||||||
- group.kitchen_accents
|
|
||||||
- delay: 00:15:00
|
|
||||||
- service: homeassistant.turn_on
|
|
||||||
entity_id:
|
|
||||||
- light.sink
|
|
||||||
- light.fridge
|
|
||||||
- light.k4
|
|
@ -1,12 +1,13 @@
|
|||||||
######################################################################
|
######################################################################
|
||||||
## Automation for 08:30 AM Daily Tasks
|
## Automation for 07:00 AM Daily Tasks
|
||||||
## https://www.vcloudinfo.com/click-here
|
## https://www.vcloudinfo.com/click-here
|
||||||
## This automation handles actions to be performed at 8:30 AM,
|
## This automation handles actions to be performed at 8:30 AM,
|
||||||
## typically related to the family's morning routine.
|
## typically related to the family's morning routine.
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
- alias: 'Kids left for the day'
|
- alias: 'Kids 830'
|
||||||
id: 7cc9a7d6-8918-4a4a-98e7-a46abc9df4f1
|
id: 3e0c4f40-0d55-42a0-9af9-37124b1b9b8b
|
||||||
|
mode: single
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
at: '08:30:00'
|
at: '08:30:00'
|
||||||
@ -15,22 +16,30 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: group.family
|
entity_id: group.family
|
||||||
state: home
|
state: home
|
||||||
|
|
||||||
- condition: state
|
- condition: state
|
||||||
entity_id: input_boolean.guest_mode
|
entity_id: sun.sun
|
||||||
state: 'off'
|
state: below_horizon
|
||||||
- condition: state
|
|
||||||
entity_id: input_boolean.school_mode
|
|
||||||
state: 'on'
|
|
||||||
- condition: time
|
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
action:
|
action:
|
||||||
- wait_template: "{{ is_state('group.garage_doors', 'open') }}"
|
- service: homeassistant.turn_on
|
||||||
timeout: '00:45:00'
|
entity_id:
|
||||||
- delay: 00:03:00
|
- light.d1
|
||||||
|
- light.d2
|
||||||
|
- light.sink
|
||||||
|
- light.fridge
|
||||||
|
- light.k4
|
||||||
|
- group.kitchen_accents
|
||||||
|
- switch.office_lamp_switch_socket
|
||||||
|
|
||||||
|
- wait_template: >-
|
||||||
|
{{ states.sun.sun.state == 'above_horizon' }}
|
||||||
|
- service: homeassistant.turn_on
|
||||||
|
entity_id: switch.alarm_panel_1_motion_detection
|
||||||
|
- service: button.press
|
||||||
|
entity_id: button.alarm_panel_1_restart_browser
|
||||||
|
- service: homeassistant.turn_off
|
||||||
|
entity_id:
|
||||||
|
- group.kitchen_accents
|
||||||
- service: light.turn_off
|
- service: light.turn_off
|
||||||
entity_id: all
|
entity_id: all
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ not is_state('media_player.livingroomCC', 'playing') }}
|
{{ not is_state('media_player.livingroomCC', 'playing') }}
|
||||||
- wait_template: >-
|
- wait_template: >-
|
||||||
{{ not is_state('media_player.whole_house', 'playing') }}
|
{{ not is_state('media_player.everywhere', 'playing') }}
|
||||||
|
|
||||||
- service: script.speech_engine
|
- service: script.speech_engine
|
||||||
data:
|
data:
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
to: 'off'
|
to: 'off'
|
||||||
for: '00:02:00'
|
for: '00:02:00'
|
||||||
- platform: state
|
- platform: state
|
||||||
entity_id: media_player.whole_house
|
entity_id: media_player.everywhere
|
||||||
to: 'off'
|
to: 'off'
|
||||||
for: '00:02:00'
|
for: '00:02:00'
|
||||||
|
|
||||||
|
@ -35,6 +35,7 @@
|
|||||||
- group.exterior_lights
|
- group.exterior_lights
|
||||||
- light.outdoor_front_lights
|
- light.outdoor_front_lights
|
||||||
- group.outdoor_seasonal
|
- group.outdoor_seasonal
|
||||||
|
- group.kitchen_accents
|
||||||
|
|
||||||
- service: input_boolean.turn_off
|
- service: input_boolean.turn_off
|
||||||
entity_id:
|
entity_id:
|
||||||
|
@ -21,8 +21,9 @@
|
|||||||
after: '07:00:00'
|
after: '07:00:00'
|
||||||
before: '11:00:00'
|
before: '11:00:00'
|
||||||
action:
|
action:
|
||||||
- service: light.turn_on
|
- service: homeassistant.turn_on
|
||||||
entity_id:
|
entity_id:
|
||||||
|
- switch.lr_amp
|
||||||
- light.kitchen_lights
|
- light.kitchen_lights
|
||||||
- service: switch.turn_on
|
- switch.alarm_panel_1_motion_detection
|
||||||
entity_id: switch.lr_amp
|
|
@ -51,7 +51,9 @@
|
|||||||
- group.outdoor_seasonal
|
- group.outdoor_seasonal
|
||||||
- switch.kitchen_accent_2
|
- switch.kitchen_accent_2
|
||||||
- group.master_bathroom_accents
|
- group.master_bathroom_accents
|
||||||
|
- switch.alarm_panel_1_motion_detection
|
||||||
- service: script.interior_off
|
- service: script.interior_off
|
||||||
|
|
||||||
|
|
||||||
- alias: 'Bed Presence AMP Trigger'
|
- alias: 'Bed Presence AMP Trigger'
|
||||||
id: 26846f7b-bc76-43d2-99be-af552d2300f
|
id: 26846f7b-bc76-43d2-99be-af552d2300f
|
||||||
@ -66,7 +68,6 @@
|
|||||||
entity_id: group.bed
|
entity_id: group.bed
|
||||||
to: 'off'
|
to: 'off'
|
||||||
id: "out_of_bed"
|
id: "out_of_bed"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
choose:
|
choose:
|
||||||
- alias: "SomeOne in Bed"
|
- alias: "SomeOne in Bed"
|
||||||
@ -83,8 +84,8 @@
|
|||||||
- switch.kitchen_accent_2
|
- switch.kitchen_accent_2
|
||||||
- light.outdoor_bathroom
|
- light.outdoor_bathroom
|
||||||
- group.master_bathroom_accents
|
- group.master_bathroom_accents
|
||||||
- group.landscaping
|
- group.landscaping
|
||||||
|
- switch.alarm_panel_1_motion_detection
|
||||||
default:
|
default:
|
||||||
- service: homeassistant.turn_on
|
- service: homeassistant.turn_on
|
||||||
target:
|
target:
|
||||||
|
@ -4,7 +4,7 @@ media_players:
|
|||||||
- media_player.living_room_tv
|
- media_player.living_room_tv
|
||||||
- media_player.living_room_ultra
|
- media_player.living_room_ultra
|
||||||
- media_player.upstairs_living_room
|
- media_player.upstairs_living_room
|
||||||
# - media_player.bedroom_alarm_panel
|
- media_player.bedroom_tablet
|
||||||
- media_player.living_room
|
- media_player.living_room
|
||||||
- media_player.front_room_flex
|
- media_player.front_room_flex
|
||||||
- media_player.garage
|
- media_player.garage
|
||||||
|
@ -22,7 +22,7 @@ automation:
|
|||||||
condition:
|
condition:
|
||||||
- condition: time
|
- condition: time
|
||||||
before: '03:00'
|
before: '03:00'
|
||||||
after: '04:00'
|
after: '05:00'
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: script.notify_engine_two_button
|
- service: script.notify_engine_two_button
|
||||||
|
@ -91,6 +91,19 @@ sensor:
|
|||||||
value_template: >
|
value_template: >
|
||||||
{{ states.light | list | count }}
|
{{ states.light | list | count }}
|
||||||
|
|
||||||
|
lights_on_count:
|
||||||
|
friendly_name: "Number of lights on"
|
||||||
|
value_template: >-
|
||||||
|
{% set lights = states.light | selectattr('state', 'eq', 'on') | list %}
|
||||||
|
{% set qty = lights | count %}
|
||||||
|
{% set p1 = 'lights are' if qty > 1 else 'light is' %}
|
||||||
|
|
||||||
|
{% if qty == 0 %}
|
||||||
|
No lights on.
|
||||||
|
{% else %}
|
||||||
|
{{ qty }} {{ p1 }} on.
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
protect_count:
|
protect_count:
|
||||||
friendly_name: 'Number of Smoke Detectors'
|
friendly_name: 'Number of Smoke Detectors'
|
||||||
value_template: >
|
value_template: >
|
||||||
|
@ -55,7 +55,7 @@ automation:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- media_player.livingroomCC
|
- media_player.livingroomCC
|
||||||
# - media_player.entry_alarm_panel
|
# - media_player.entry_alarm_panel
|
||||||
# - media_player.bedroom_alarm_panel
|
# - media_player.bedroom_tablet
|
||||||
data:
|
data:
|
||||||
options:
|
options:
|
||||||
voice: JennyNeural
|
voice: JennyNeural
|
||||||
|
@ -46,7 +46,7 @@ automation:
|
|||||||
entity_id:
|
entity_id:
|
||||||
- media_player.livingroomCC
|
- media_player.livingroomCC
|
||||||
# - media_player.entry_alarm_panel
|
# - media_player.entry_alarm_panel
|
||||||
# - media_player.bedroom_alarm_panel
|
# - media_player.bedroom_tablet
|
||||||
data:
|
data:
|
||||||
media_content_id: >
|
media_content_id: >
|
||||||
"https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/speechcons/self_destruct.mp3"
|
"https://raw.githubusercontent.com/CCOSTAN/Home-AssistantConfig/master/config/sounds/speechcons/self_destruct.mp3"
|
||||||
|
@ -23,8 +23,7 @@ amp_settings:
|
|||||||
{% if media_player | length == 0 %}
|
{% if media_player | length == 0 %}
|
||||||
{% set media_player = [
|
{% set media_player = [
|
||||||
'media_player.livingroomcc',
|
'media_player.livingroomcc',
|
||||||
'media_player.alarm_clock',
|
'media_player.bedroom_tablet'
|
||||||
'media_player.bedroom_alarm_panel'
|
|
||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -244,6 +244,7 @@
|
|||||||
- Justin (Son): {{ states('person.justin') }} at {{ states('sensor.justin_place') if states('sensor.justin_place') != unknown else 'Away' }}
|
- Justin (Son): {{ states('person.justin') }} at {{ states('sensor.justin_place') if states('sensor.justin_place') != unknown else 'Away' }}
|
||||||
- Paige (Daughter): {{ states('person.paige') }} at {{ states('sensor.paige_place') if states('sensor.paige_place') != unknown else 'Away' }}
|
- Paige (Daughter): {{ states('person.paige') }} at {{ states('sensor.paige_place') if states('sensor.paige_place') != unknown else 'Away' }}
|
||||||
and our cat Molly: Always home.
|
and our cat Molly: Always home.
|
||||||
|
- Location Context: When Paige is at FSU, you can say she is at her Dorm. When Justin is at Stefanos, you can say he is at work.
|
||||||
Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}"
|
Previous broadcast: "{{ state_attr('sensor.openai_response', 'response') }}"
|
||||||
[Announce where everyone is if they are not at home. Avoid repeating information from the previous broadcast if it was within the hour]
|
[Announce where everyone is if they are not at home. Avoid repeating information from the previous broadcast if it was within the hour]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user