all kinds of fun

This commit is contained in:
CeeWeasel
2026-05-04 21:01:23 -04:00
parent 149fac6ec0
commit 6f4259d767
62 changed files with 283 additions and 325 deletions
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
@@ -9,3 +9,4 @@ options:
- 'Dimmed'
- 'Nightlight'
- 'Natural light'
- 'Adaptive'
+6 -8
View File
@@ -1,8 +1,6 @@
amcrest:
- name: Amcrest Camera19
host: !secret camera19ip
username: !secret camera19username
password: !secret camerapassword
stream_source: rtsp
binary_sensors:
- online
# amcrest:
# - name: Amcrest Camera19
# host: !secret camera19ip
# username: !secret camera19username
# password: !secret camerapassword
# stream_source: rtsp
@@ -1,6 +1,6 @@
template:
- trigger:
- platform: state
- trigger: state
entity_id:
- sensor.pm_dryer_w
- input_number.tumble_dryer_delay_on
@@ -9,11 +9,11 @@ template:
- "unknown"
- "unavailable"
- platform: event
- trigger: event
event_type: event_template_reloaded
id: "reload"
- platform: homeassistant
- trigger: homeassistant
event: start
binary_sensor:
@@ -31,27 +31,35 @@ template:
state: "{{ states('sensor.pm_dryer_w')|float(default=0) >= states('input_number.tumble_dryer_on')|float(default=0) }}"
- trigger:
- platform: state
- trigger: state
entity_id: sensor.pm_dryer_w
not_to:
- "unknown"
- "unavailable"
- platform: state
- trigger: state
entity_id: input_number.tumble_dryer_delay_on
not_to:
- "unknown"
- "unavailable"
- platform: state
- trigger: state
entity_id: input_number.tumble_dryer_delay_off
not_to:
- "unknown"
- "unavailable"
- platform: event
- id: door_open
trigger: state
entity_id: binary_sensor.tumble_dryer_door_contact
from: "off"
to: "on"
for:
seconds: 5
- trigger: event
event_type: event_template_reloaded
id: "reload"
- platform: homeassistant
- trigger: homeassistant
event: start
sensor:
@@ -61,7 +69,11 @@ template:
{% if is_state('binary_sensor.tumble_dryer','on') %}
running
{% elif is_state('binary_sensor.tumble_dryer','off') and is_state('input_boolean.fold_clothes','on') %}
pending
{% if is_state('binary_sensor.tumble_dryer_door_contact','on') %}
idle
{% else %}
pending
{% endif %}
{% else %}
idle
{% endif %}
@@ -126,19 +138,19 @@ automation:
alias: Fold Clothes
trigger:
- id: tumble_dryer_off
platform: state
trigger: state
entity_id: binary_sensor.tumble_dryer
from: "on"
to: "off"
- id: tumble_dryer_on
platform: state
trigger: state
entity_id: binary_sensor.tumble_dryer
from: "off"
to: "on"
- id: door_open
platform: state
trigger: state
entity_id: binary_sensor.tumble_dryer_door_contact
from: "off"
to: "on"
@@ -4,6 +4,8 @@ sensor:
name: Lowest Hue Device Battery
type: min
entity_ids:
- sensor.hue_button_battery_level
- sensor.hue_dimmer_switch_battery_level
- sensor.bar_hue_motion_sensor_battery
- sensor.entryway_hue_motion_sensor_battery
- sensor.front_room_hue_motion_sensor_battery
@@ -1,16 +1,16 @@
sensor:
- platform: min_max
unique_id: sensor_lowest_xiaomi_device_battery
name: Lowest Xiaomi Plant Sensor Battery
type: min
entity_ids:
- sensor.plant_sensor_3eae_battery
- sensor.plant_sensor_3eb0_battery
- sensor.plant_sensor_cea4_battery
- platform: min_max
unique_id: sensor_lowest_ecowitt_device_battery
name: Lowest Ecowitt Battery
type: min
entity_ids:
- sensor.hasta_soil_sensor_battery
- sensor.daisy_soil_sensor_battery
# - platform: min_max
# unique_id: sensor_lowest_xiaomi_device_battery
# name: Lowest Xiaomi Plant Sensor Battery
# type: min
# entity_ids:
# - sensor.plant_sensor_3eae_battery
# - sensor.plant_sensor_3eb0_battery
# - sensor.plant_sensor_cea4_battery
+9
View File
@@ -79,8 +79,15 @@ recorder:
- sensor.interlogix*
- sensor.*_timestamp
- sensor.everything_presence_lite*target*
- sensor.everything_presence_lite*assumed_present_remaining
- sensor.*_cpu_percent
- sensor.*_memory_percent
- sensor.*_heap_free
- sensor.*_loop_time
- sensor.*_rssi
- sensor.*_wifi_signal_strength
- sensor.homeassistant_veth*x
domains:
- updater
- calendar
@@ -90,6 +97,8 @@ recorder:
- scene
- button
- remote
- automation
- script
# include:
# domains:
# - sensor
+42 -42
View File
@@ -1,48 +1,48 @@
plant:
plant_sensor_cea4:
sensors:
moisture: sensor.plant_sensor_cea4_moisture
temperature: sensor.plant_sensor_cea4_temperature
conductivity: sensor.plant_sensor_cea4_conductivity
brightness: sensor.plant_sensor_cea4_illuminance
#battery: sensor.plant_sensor_cea4_battery
min_moisture: 10
max_moisture: 65
min_temperature: 30
min_brightness: 200
max_brightness: 300000
min_conductivity: 10
max_conductivity: 5700
# plant_sensor_cea4:
# sensors:
# moisture: sensor.plant_sensor_cea4_moisture
# temperature: sensor.plant_sensor_cea4_temperature
# conductivity: sensor.plant_sensor_cea4_conductivity
# brightness: sensor.plant_sensor_cea4_illuminance
# #battery: sensor.plant_sensor_cea4_battery
# min_moisture: 10
# max_moisture: 65
# min_temperature: 30
# min_brightness: 200
# max_brightness: 300000
# min_conductivity: 10
# max_conductivity: 5700
plant_sensor_3eae:
sensors:
moisture: sensor.plant_sensor_3eae_moisture
temperature: sensor.plant_sensor_3eae_temperature
conductivity: sensor.plant_sensor_3eae_conductivity
brightness: sensor.plant_sensor_3eae_illuminance
#battery: sensor.plant_sensor_3eae_battery
min_moisture: 10
max_moisture: 65
min_temperature: 30
min_brightness: 200
max_brightness: 300000
min_conductivity: 10
max_conductivity: 5700
# plant_sensor_3eae:
# sensors:
# moisture: sensor.plant_sensor_3eae_moisture
# temperature: sensor.plant_sensor_3eae_temperature
# conductivity: sensor.plant_sensor_3eae_conductivity
# brightness: sensor.plant_sensor_3eae_illuminance
# #battery: sensor.plant_sensor_3eae_battery
# min_moisture: 10
# max_moisture: 65
# min_temperature: 30
# min_brightness: 200
# max_brightness: 300000
# min_conductivity: 10
# max_conductivity: 5700
plant_sensor_3eb0:
sensors:
moisture: sensor.plant_sensor_3eb0_moisture
temperature: sensor.plant_sensor_3eb0_temperature
conductivity: sensor.plant_sensor_3eb0_conductivity
brightness: sensor.plant_sensor_3eb0_illuminance
#battery: sensor.plant_sensor_3eb0_battery
min_moisture: 10
max_moisture: 65
min_temperature: 30
min_brightness: 200
max_brightness: 300000
min_conductivity: 10
max_conductivity: 5700
# plant_sensor_3eb0:
# sensors:
# moisture: sensor.plant_sensor_3eb0_moisture
# temperature: sensor.plant_sensor_3eb0_temperature
# conductivity: sensor.plant_sensor_3eb0_conductivity
# brightness: sensor.plant_sensor_3eb0_illuminance
# #battery: sensor.plant_sensor_3eb0_battery
# min_moisture: 10
# max_moisture: 65
# min_temperature: 30
# min_brightness: 200
# max_brightness: 300000
# min_conductivity: 10
# max_conductivity: 5700
hasta_soil_sensor:
sensors: