Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aneisch committed Sep 18, 2023
1 parent 441e3f3 commit b5d3734
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Also using Grafana/Influx for graphing, both running in Docker containers on NUC
Description | value
-- | --
Lines of ESPHome YAML | 2467
Lines of Home Assistant YAML | 7878
Lines of Home Assistant YAML | 7889
[Integrations](https://www.home-assistant.io/integrations/) in use | 51
Zigbee devices in [`zha`](https://www.home-assistant.io/integrations/zha/) | 26
Z-Wave devices in [`zwave_js`](https://www.home-assistant.io/integrations/zwave_js/) | 37
Expand All @@ -65,7 +65,7 @@ Description | value
-- | --
Entities in the [`alarm_control_panel`](https://www.home-assistant.io/components/alarm_control_panel) domain | 1
Entities in the [`automation`](https://www.home-assistant.io/components/automation) domain | 99
Entities in the [`binary_sensor`](https://www.home-assistant.io/components/binary_sensor) domain | 132
Entities in the [`binary_sensor`](https://www.home-assistant.io/components/binary_sensor) domain | 128
Entities in the [`button`](https://www.home-assistant.io/components/button) domain | 12
Entities in the [`calendar`](https://www.home-assistant.io/components/calendar) domain | 1
Entities in the [`camera`](https://www.home-assistant.io/components/camera) domain | 18
Expand All @@ -90,7 +90,7 @@ Entities in the [`remote`](https://www.home-assistant.io/components/remote) doma
Entities in the [`scene`](https://www.home-assistant.io/components/scene) domain | 2
Entities in the [`script`](https://www.home-assistant.io/components/script) domain | 39
Entities in the [`select`](https://www.home-assistant.io/components/select) domain | 2
Entities in the [`sensor`](https://www.home-assistant.io/components/sensor) domain | 378
Entities in the [`sensor`](https://www.home-assistant.io/components/sensor) domain | 375
Entities in the [`siren`](https://www.home-assistant.io/components/siren) domain | 1
Entities in the [`sun`](https://www.home-assistant.io/components/sun) domain | 1
Entities in the [`switch`](https://www.home-assistant.io/components/switch) domain | 152
Expand All @@ -100,7 +100,7 @@ Entities in the [`update`](https://www.home-assistant.io/components/update) doma
Entities in the [`vacuum`](https://www.home-assistant.io/components/vacuum) domain | 1
Entities in the [`weather`](https://www.home-assistant.io/components/weather) domain | 2
Entities in the [`zone`](https://www.home-assistant.io/components/zone) domain | 6
**Total state objects** | **1032**
**Total state objects** | **1025**
## The HACS integrations/plugins that I use:
**Appdaemon**:<br>
[aneisch/follow_me_appdaemon](https://github.com/aneisch/follow_me_appdaemon)<br>
Expand Down
16 changes: 14 additions & 2 deletions packages/leak_detection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,18 @@ template:
{{ states('sensor.flume_sensor_home_current') != "0" }}
automation:
- alias: "Flume Disconnected"
id: "flume_disconnected"
trigger:
- platform: state
entity_id: binary_sensor.flume_sensor_home_connectivity
from: "on"
to: "off"
action:
- service: script.notify_wrapper
data:
message: Flume sensor disconnected

- alias: "Water Flow Alert"
id: "water_flow_alert"
trigger:
Expand All @@ -13,8 +25,8 @@ automation:
from: "off"
to: "on"
for: "00:02:00"
# irrigation master off AND trackers away AND guest mode off
condition: "{{ is_state('switch.irrigation_master_valve', 'off') and is_state('switch.garden_zone', 'off') and is_state('switch.bougainvillea_zone', 'off') and is_state('switch.maples_zone', 'off') and is_state('group.trackers', 'not_home' ) and is_state('input_boolean.guest_mode', 'off') }}"
# irrigation off AND trackers away AND guest mode off AND not 12:00-12:05
condition: "{{ is_state('switch.irrigation_master_valve', 'off') and is_state('switch.garden_zone', 'off') and is_state('switch.bougainvillea_zone', 'off') and is_state('switch.maples_zone', 'off') and is_state('group.trackers', 'not_home' ) and is_state('input_boolean.guest_mode', 'off') and not (now().hour == 12 and now.minute in [0,1,2,3,4,5]) }}"
action:
- service: script.notify_wrapper
data:
Expand Down

0 comments on commit b5d3734

Please sign in to comment.