mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
Changes and cleanup
This commit is contained in:
@@ -4,7 +4,7 @@ id: automation_clint_at_work
|
||||
trigger:
|
||||
platform: state
|
||||
entity_id: device_tracker.pixel_7
|
||||
to: 'AGH'
|
||||
to: 'WMU'
|
||||
action:
|
||||
- service: automation.turn_on
|
||||
entity_id: automation.clint_home_after_work
|
||||
|
||||
@@ -10,6 +10,7 @@ trigger:
|
||||
entity_id:
|
||||
- input_select.clint_status_dropdown
|
||||
- input_boolean.clint_home
|
||||
- device_tracker.pixel_7
|
||||
|
||||
condition:
|
||||
- condition: template
|
||||
|
||||
@@ -28,7 +28,7 @@ action:
|
||||
target:
|
||||
entity_id: input_datetime.clint_next_alarm
|
||||
data:
|
||||
time: "06:00:00"
|
||||
time: "09:00:00"
|
||||
|
||||
- conditions:
|
||||
- condition: state
|
||||
|
||||
@@ -8,24 +8,18 @@ observations:
|
||||
|
||||
- entity_id: group.computer_area_motion
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.97
|
||||
prob_given_false: 0.5
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: binary_sensor.computer_chair_contact_occupied
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.97
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
# - entity_id: binary_sensor.computer_chair_contact_occupied
|
||||
# prob_given_true: .99
|
||||
# prob_given_false: 0.5
|
||||
# platform: state
|
||||
# to_state: 'on'
|
||||
|
||||
- entity_id: input_boolean.home_occupied
|
||||
platform: state
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.01
|
||||
prob_given_true: .7
|
||||
prob_given_false: 0.1
|
||||
to_state: 'on'
|
||||
|
||||
- entity_id: binary_sensor.computer_area_person_occupancy
|
||||
prob_given_true: .99
|
||||
prob_given_false: 0.97
|
||||
platform: state
|
||||
to_state: 'on'
|
||||
@@ -702,7 +702,7 @@ sensors:
|
||||
unique_id: templatesensor.take_trash_out
|
||||
friendly_name: "Take Trash Out"
|
||||
icon_template: mdi:trash-can
|
||||
value_template: "{{ is_state('calendar.trash_schedule','on') or state_attr('calendar.trash_schedule','offset_reached') and is_state('input_boolean.trash_out','off') }}"
|
||||
value_template: "{{ (is_state('calendar.trash_schedule','on') or state_attr('calendar.trash_schedule','offset_reached')) and is_state('input_boolean.trash_out','off') }}"
|
||||
|
||||
need_salt:
|
||||
unique_id: templatebinarysensor.need_salt
|
||||
@@ -724,13 +724,6 @@ sensors:
|
||||
value_template: "{{ states('binary_sensor.white_bed_occupied') }}"
|
||||
icon_template: "{{ iif(is_state('binary_sensor.white_bed_occupied','on'),'mdi:bed','mdi:bed-empty','mdi:bed-outline')}}"
|
||||
|
||||
should_mow: #
|
||||
unique_id: templatebinarysensor.should_mow
|
||||
friendly_name: Should Mow
|
||||
#value_template: "{{ as_timestamp(states('sensor.chore_mow')) < as_timestamp(now()) }}"
|
||||
value_template: "{{ (( now().month > 3 ) and ( now().month < 9 )) and (as_timestamp(states('sensor.chore_mow')) < as_timestamp(now())) }}"
|
||||
icon_template: mdi:mower-bag
|
||||
|
||||
check_mail:
|
||||
unique_id: templatebinarysensor.check_mail
|
||||
friendly_name: Check Mail
|
||||
|
||||
@@ -35,12 +35,6 @@ recorder:
|
||||
- automation.cam14_ptz_presets
|
||||
- automation.cam14_ptz_move
|
||||
- automation.cycle_back_yard_camera
|
||||
- sensor.grocy_chores
|
||||
- sensor.grocy_shopping_list
|
||||
- sensor.grocy_stock
|
||||
- sensor.grocy_tasks
|
||||
- sensor.grocy_batteries
|
||||
- sensor.grocy_meal_plan
|
||||
entity_globs:
|
||||
- sensor.*_text
|
||||
- sensor.*_last_motion
|
||||
@@ -72,7 +66,6 @@ recorder:
|
||||
- sensor.opus*
|
||||
- sensor.wt*
|
||||
- sensor.*cpu_usage
|
||||
- binary_sensor.grocy*
|
||||
- sensor.fineoffset_wh1050*
|
||||
- sensor.ambietweather*
|
||||
- sensor.esic*
|
||||
@@ -82,6 +75,8 @@ recorder:
|
||||
- sensor.tfa_*
|
||||
- sensor.rubicscon_*
|
||||
- sensor.interlogix*
|
||||
- sensor.*_timestamp
|
||||
- sensor.everything_presence_lite*target*
|
||||
domains:
|
||||
- updater
|
||||
- calendar
|
||||
@@ -137,10 +132,8 @@ history:
|
||||
# - binary_sensor.55_tcl*
|
||||
# - binary_sensor.roku_streaming_stick*
|
||||
# - binary_sensor.dream_nas*
|
||||
# - binary_sensor.grocy*
|
||||
# - binary_sensor.dream_nas*
|
||||
# - sensor.dream_nas*
|
||||
# - sensor.grocy*
|
||||
# - sensor.*cpu_percent
|
||||
# - sensor.*memory_percent
|
||||
# - sensor.*weight
|
||||
@@ -228,6 +221,7 @@ logbook:
|
||||
- number.*_basic
|
||||
- sensor.*cube*
|
||||
- sensor.*power_outage_count
|
||||
- sensor.*_timestamp
|
||||
domains:
|
||||
- sun
|
||||
- device_tracker
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
substitutions:
|
||||
name: everything-presence-lite-8fa4fc
|
||||
friendly_name: Everything Presence Great Room
|
||||
packages:
|
||||
EverythingSmartTechnology.Everything_Presence_Lite: github://everythingsmarthome/everything-presence-lite/everything-presence-lite-ha.yaml@main
|
||||
esphome:
|
||||
name: ${name}
|
||||
name_add_mac_suffix: false
|
||||
friendly_name: ${friendly_name}
|
||||
api:
|
||||
encryption:
|
||||
key: Qi7Fi+ayleijFB6gE1/jnEtuI95NCEiwNM/QnqB+e28=
|
||||
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
@@ -23,5 +23,5 @@ packages:
|
||||
device_base: !include common/device_base.yaml
|
||||
hx711: !include common/hx711_single_verbose.yaml
|
||||
|
||||
esp8266:
|
||||
board: nodemcuv2
|
||||
esp32:
|
||||
board: nodemcu-32s
|
||||
|
||||
@@ -99,6 +99,7 @@ computer_area_motion:
|
||||
entities:
|
||||
- binary_sensor.computer_area_multisensor_home_security_motion_detection
|
||||
- binary_sensor.great_room_motion_switch_home_security_motion_detection
|
||||
- binary_sensor.everything_presence_lite_8fa4fc_occupancy
|
||||
|
||||
utility_room_motion:
|
||||
icon: mdi:motion-sensor
|
||||
@@ -118,6 +119,7 @@ great_room_motion:
|
||||
name: Great Room Motion
|
||||
entities:
|
||||
- binary_sensor.great_room_multisensor_home_security_motion_detection
|
||||
- binary_sensor.everything_presence_lite_8fa4fc_occupancy
|
||||
|
||||
nursery_doors:
|
||||
icon: hass:door
|
||||
|
||||
@@ -17,6 +17,7 @@ cards:
|
||||
- entity: sensor.pixel_7_battery_level
|
||||
- entity: sensor.pixel_7_battery_state
|
||||
- entity: sensor.pixel_7_battery_temperature
|
||||
- entity: sensor.pixel_7_ringer_mode
|
||||
- entity: binary_sensor.pixel_7_headphones
|
||||
- entity: binary_sensor.pixel_7_is_charging
|
||||
- entity: binary_sensor.pixel_7_work_profile
|
||||
|
||||
@@ -34,7 +34,7 @@ cards:
|
||||
|
||||
|
||||
- type: weather-forecast
|
||||
entity: weather.openweathermap
|
||||
entity: weather.kbiv
|
||||
name: Next 5 Hours
|
||||
show_current: true
|
||||
show_forecast: true
|
||||
|
||||
@@ -1,83 +0,0 @@
|
||||
title: All Chores
|
||||
path: chores-all
|
||||
icon: mdi:broom
|
||||
visible:
|
||||
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
|
||||
cards:
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Daddy's Chores
|
||||
user_id: 2
|
||||
filter_user: 2
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_chores
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Chickadee's Chores
|
||||
user_id: 5
|
||||
filter_user: 5
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_chores
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Marshall's Chores
|
||||
user_id: 6
|
||||
filter_user: 6
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_chores
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Tess' Chores
|
||||
user_id: 7
|
||||
filter_user: 7
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_chores
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Emmett's Chores
|
||||
user_id: 3
|
||||
filter_user: 3
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_chores
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Bridget's Chores
|
||||
user_id: 4
|
||||
filter_user: 4
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_chores
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Ebin's Chores
|
||||
user_id: 8
|
||||
filter_user: 8
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_chores
|
||||
+20
-37
@@ -404,19 +404,32 @@ badges:
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- condition: numeric_state
|
||||
entity: sensor.pixel_7_volume_level_ringer
|
||||
below: 1
|
||||
- entity: sensor.pixel_7_ringer_mode
|
||||
state: "silent"
|
||||
chip:
|
||||
type: template
|
||||
entity: sensor.pixel_7_volume_level_ringer
|
||||
entity: sensor.pixel_7_ringer_mode
|
||||
content: Silent
|
||||
icon: mdi:cellphone
|
||||
icon: mdi:volume-off
|
||||
icon_color: red
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/mobile-app
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: sensor.pixel_7_ringer_mode
|
||||
state: "vibrate"
|
||||
chip:
|
||||
type: template
|
||||
entity: sensor.pixel_7_ringer_mode
|
||||
content: Vibrate
|
||||
icon: mdi:vibrate
|
||||
icon_color: yellow
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/mobile-app
|
||||
|
||||
- type: conditional
|
||||
conditions:
|
||||
- entity: binary_sensor.sprinkler_in_season
|
||||
@@ -875,7 +888,7 @@ badges:
|
||||
service: homeassistant.turn_on
|
||||
service_data:
|
||||
entity_id: input_boolean.mail_checked
|
||||
- entity: binary_sensor.take_dumpster_to_curb
|
||||
- entity: binary_sensor.take_trash_out
|
||||
name: Trash
|
||||
tap_action:
|
||||
action: call-service
|
||||
@@ -888,36 +901,6 @@ badges:
|
||||
name: Update
|
||||
- entity: binary_sensor.computer_chair_contact_occupied
|
||||
name: Comp Chair
|
||||
- entity: binary_sensor.grocy_overdue_chores
|
||||
name: Chores
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/chores
|
||||
- entity: binary_sensor.grocy_overdue_tasks
|
||||
name: Tasks
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/chores
|
||||
- entity: binary_sensor.grocy_overdue_products
|
||||
name: Overdue
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/stock
|
||||
- entity: binary_sensor.grocy_missing_products
|
||||
name: Missing
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/stock
|
||||
- entity: binary_sensor.grocy_expiring_products
|
||||
name: Expiring
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/stock
|
||||
- entity: binary_sensor.grocy_expired_products
|
||||
name: Expired
|
||||
tap_action:
|
||||
action: navigate
|
||||
navigation_path: /details-yml/stock
|
||||
- entity: binary_sensor.humidity_too_low
|
||||
name: Too Dry
|
||||
hold_action:
|
||||
@@ -1501,7 +1484,7 @@ cards:
|
||||
camera_entity: camera.mail_usps_camera
|
||||
|
||||
- type: custom:hourly-weather
|
||||
entity: weather.openweathermap
|
||||
entity: weather.kbiv
|
||||
icons: true
|
||||
name: ""
|
||||
hide_hours: false
|
||||
|
||||
@@ -1,76 +0,0 @@
|
||||
title: All Tasks
|
||||
path: tasks-all
|
||||
icon: mdi:checkbox-marked-circle
|
||||
visible:
|
||||
- user: 24a4bd075e7f41a497dd0390a1dd4a9f
|
||||
cards:
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Daddy's Tasks
|
||||
user_id: 2
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_tasks
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Chickadee's Tasks
|
||||
user_id: 5
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_tasks
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Marshall's Tasks
|
||||
user_id: 6
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_tasks
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Tess' Tasks
|
||||
user_id: 7
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_tasks
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Emmett's Tasks
|
||||
user_id: 3
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_tasks
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Bridget's Tasks
|
||||
user_id: 4
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_tasks
|
||||
|
||||
- type: custom:grocy-chores-card
|
||||
title: Ebin's Tasks
|
||||
user_id: 8
|
||||
show_quantity: 5
|
||||
show_days: 5
|
||||
show_create_task: false
|
||||
show_assigned: false
|
||||
entity:
|
||||
- sensor.grocy_tasks
|
||||
@@ -1,91 +0,0 @@
|
||||
mode: parallel
|
||||
alias: Grocy Say Chores
|
||||
|
||||
sequence:
|
||||
- variables:
|
||||
speaker: "{{speaker}}"
|
||||
closing_line: >
|
||||
{% if room is defined %}
|
||||
Nothing needs to be done in the {{ room }}
|
||||
{% elif person is defined %}
|
||||
{{ person }} doesn't need to do anything
|
||||
{% else %}
|
||||
Nothing pressing needs to be done
|
||||
{% endif %}
|
||||
object_name: >
|
||||
{% if room is defined %}
|
||||
{{ (room | lower).replace(' ','_')~"_" }}
|
||||
{% elif person is defined %}
|
||||
{{ (person | lower).replace(' ','_')~"_" }}
|
||||
{% else %}
|
||||
{% endif %}
|
||||
room_name: >
|
||||
{% if room is defined %}
|
||||
{% if room == "All" %}{%else%}{{ (room | lower).replace(' ','_')~"_" }}{%endif%}
|
||||
{% endif %}
|
||||
person_name: >
|
||||
{% if person is defined %}
|
||||
{{ (person | lower).replace(' ','_')~"_" }}
|
||||
{% endif %}
|
||||
|
||||
- alias: "Say next three chores"
|
||||
service: tts.google_translate_say
|
||||
data:
|
||||
entity_id: "{{speaker}}"
|
||||
message: >-
|
||||
{% if not is_state('sensor.'~object_name~'chore_one',"None") -%}
|
||||
First you should {{ states('sensor.'~object_name~'chore_one') }}.
|
||||
{% if not is_state('sensor.'~object_name~'chore_two',"None") -%}
|
||||
After that, you can {{ states('sensor.'~object_name~'chore_two') }}
|
||||
{% if not is_state('sensor.'~object_name~'chore_three',"None") -%}
|
||||
Finally, you can always {{ states('sensor.'~object_name~'chore_three') }}
|
||||
{% endif -%}
|
||||
{% endif -%}
|
||||
{%- else -%}
|
||||
{{ closing_line }}
|
||||
{% endif -%}
|
||||
|
||||
fields:
|
||||
room:
|
||||
description: Choose room to hear chores associate with the selected room (takes prescedence over person)
|
||||
example: Blue Room
|
||||
selector:
|
||||
select:
|
||||
options:
|
||||
- Blue Room
|
||||
- Computer Area
|
||||
- Dining Room
|
||||
- Entryway
|
||||
- Front Room
|
||||
- Furnace Room
|
||||
- Garage
|
||||
- Kitchen
|
||||
- Great Room
|
||||
- Mancave
|
||||
- Master Bathroom
|
||||
- Master Bedroom
|
||||
- Nursery
|
||||
- Utility Room
|
||||
- Other
|
||||
|
||||
person:
|
||||
description: Choose person to hear chores associate with that person (if a room is not chosen)
|
||||
example: Daddy
|
||||
selector:
|
||||
select:
|
||||
options:
|
||||
- Daddy
|
||||
- Chickadee
|
||||
- Marshall
|
||||
- Tess
|
||||
- Emmett
|
||||
- Bridget
|
||||
- Ebin
|
||||
- Other
|
||||
|
||||
speaker:
|
||||
description: Speaker to announce chores on
|
||||
example: media_player.announcements
|
||||
selector:
|
||||
entity:
|
||||
domain: media_player
|
||||
Reference in New Issue
Block a user