Compare commits

..

106 Commits

Author SHA1 Message Date
github-actions[bot]
d692d926dc Update HA version badge to 2025.8.0 2025-08-11 16:58:15 +00:00
Carlo Costanzo
edbb6aa608 Refactor weather briefing template to ensure proper float conversion for state values, enhancing accuracy in weather alerts and conditions. Update garage check condition for improved functionality. 2025-08-11 12:58:01 -04:00
github-actions[bot]
ee0c57ad6c Update HA version badge to 2025.8.0 2025-08-07 14:36:34 +00:00
Carlo Costanzo
7a45a6007b Remove 'Good Morning' and 'School Mode' input booleans, and delete associated automation files since the Kiddos are into College now. #EmptyNest Close #948 - Last day of School Countdown (#1526) 2025-08-07 10:36:15 -04:00
github-actions[bot]
bf202e770b Update HA version badge to 2025.7.4 2025-08-06 16:57:03 +00:00
Carlo Costanzo
a0a93dceec Update climate automation to adjust temperature threshold to 79 and add condition for guest mode, enhancing control over climate settings. 2025-08-06 12:56:43 -04:00
github-actions[bot]
7403198c25 Update HA version badge to 2025.7.4 2025-08-06 13:41:46 +00:00
Carlo Costanzo
e4c9dfb49a Update climate automation to set preset mode to 'none' instead of 'cool' for both downstairs and upstairs thermostats, enhancing control over climate settings. 2025-08-06 09:41:27 -04:00
github-actions[bot]
3ea720af36 Update HA version badge to 2025.7.4 2025-08-04 15:19:17 +00:00
Carlo Costanzo
cfbc7ee771 Add new automation for setting thermostats to eco mode when away and adjust recorder configuration to include Alexa event types. Refactor existing climate automation for improved clarity and functionality. 2025-08-04 11:18:55 -04:00
github-actions[bot]
4ce67e83d5 Update HA version badge to 2025.7.4 2025-07-31 04:42:46 +00:00
Carlo Costanzo
ab5534b33a Refactor climate automation to use 'temperature' attribute instead of 'target_temp_high' for improved clarity and consistency in configuration. We never use the heat anyway. Just using cooling now. 2025-07-31 00:42:20 -04:00
github-actions[bot]
67295d027b Update HA version badge to 2025.7.4 2025-07-29 04:01:06 +00:00
Carlo Costanzo
fe64a69be0 Update HA version to 2025.7.4 and modify climate automation to use 'temperature' instead of 'target_temp_high' for improved clarity in configuration. 2025-07-29 00:00:48 -04:00
github-actions[bot]
136fa6b97d Update HA version badge to 2025.7.2 2025-07-24 00:54:26 +00:00
Carlo Costanzo
8c1f63cb68 Enhance recorder and climate configurations by adding new sensor exclusions and updating automation conditions. Excluded 'sensor.sun_next_*' in recorder.yaml and modified climate automation to use 'target_temp_high' for improved temperature control. Updated Garadget automation to refine state conditions for better home presence detection. 2025-07-23 20:53:56 -04:00
github-actions[bot]
a9c5e52671 Update HA version badge to 2025.7.2 2025-07-22 18:14:51 +00:00
Carlo Costanzo
4d93cc691c More and More Logbook filtering. 2025-07-22 14:14:25 -04:00
github-actions[bot]
3b38233914 Update HA version badge to 2025.7.2 2025-07-22 16:25:30 +00:00
Carlo Costanzo
5363853618 July_2025 (#1525)
* Update HA version to 2025.7.2, remove deprecated Conico camera configuration, and add new automation for auto-opening the large garage door upon arrival. Enhance garage camera integration with Alexa Media Player for better home monitoring.

* Refactor automation scripts to enhance garbage day announcements and thermostat control. Removed deprecated responsibilities automation and updated related references in speech engine and templates. Added new automation for setting thermostats to eco mode when away.

* Add notification for thermostat eco mode trigger in away.yaml, remove unused media player from media_players.yaml, and comment out unused pool deck switch in switches.yaml. fixing Spook Findings!

* Enhance stats.yaml by adding new sensors for GitHub open issues and stargazers, updating existing sensor configurations for better measurement clarity. Adjust unit_of_measurement and state_class for improved data representation.

* Refactor stats.yaml to unify unit_of_measurement for sensors, changing from specific labels to a generic 'count' for improved consistency and clarity in data representation.

* Update logger and recorder trying to get the logbook a little more useful by excluding a LOT of stuff.  Modified greeting messages in speech templates to address individuals specifically when home.

* Add automation for fridge door open notification in fridge.yaml, integrating ThinLg HACS for enhanced sensor support. This automation alerts family members if the fridge door remains open for over 5 minutes, ensuring timely action to prevent temperature issues. ThinQ LG integration #1165

* Updating the header so AI can read the requirements easier.

* Refactor garage.yaml automation to enhance notifications for garage door operations. Removed unnecessary conditions and added functionality to track the last person home, updating notification details and camera entity for improved monitoring.

* Refactor climate.yaml automation to improve the condition for setting the downstairs Nest temperature. Changed trigger to use a group state for better reliability and added a numeric state condition for temperature checks, ensuring more accurate automation behavior.

* Update configuration.yaml and recorder.yaml to refine logbook and recorder exclusions. Added new entity globs for sensors and updated entities list for improved data management and monitoring. Removed deprecated sensor references for better clarity.  REALLY trying to tighten this up a LOT.

* Add automation to notify Carlo of Proxmox updates in proxmox. This automation triggers notifications when updates are available for Proxmox hosts,.

* Refactor logbook configuration in configuration.yaml to include external logbook.yaml for improved organization and clarity. Removed extensive entity exclusions to streamline logbook entries.

* Update logbook.yaml and recorder.yaml to refine entity exclusions and enhance data management. Added new sensor exclusions in recorder.yaml and standardized unit_of_measurement and icon_template in stats.yaml for improved clarity and consistency.

* Update logbook.yaml to enhance entity tracking by adding new sensors and reorganizing existing entries for improved clarity and data management. Removed some deprecated sensor references to streamline the configuration.

* Merge branch 'master' into July_2025
2025-07-22 12:25:12 -04:00
github-actions[bot]
fafaa32294 Update HA version badge to 2025.7.2 2025-07-22 16:18:16 +00:00
Carlo Costanzo
389a3c348f Dupliate merge or something. 2025-07-22 12:17:51 -04:00
github-actions[bot]
e87e4e90fa Update HA version badge to 2025.7.2 2025-07-22 16:10:47 +00:00
Carlo Costanzo
9e208fca4e Update logger and recorder trying to get the logbook a little more useful by excluding a LOT of stuff. Modified greeting messages in speech templates to address individuals specifically when home. 2025-07-22 12:10:14 -04:00
Carlo Costanzo
f3a4c5087b Update HA version to 2025.7.2, remove deprecated Conico camera configuration, and add new automation for auto-opening the large garage door upon arrival. Enhance garage camera integration with Alexa Media Player for better home monitoring. 2025-07-22 12:05:14 -04:00
github-actions[bot]
833143e445 Update HA version badge to 2025.7.2 2025-07-22 16:00:57 +00:00
Carlo Costanzo
f1fc8e8012 July_2025 (#1524) 2025-07-22 12:00:39 -04:00
github-actions[bot]
561b454518 Update HA version badge to 2025.7.1 2025-07-13 16:24:14 +00:00
Carlo Costanzo
4d0268c009 Refactor climate.yaml to adjust script indentation for better readability and maintainability. This change ensures proper YAML structure for the reset_downstairs_filter script. 2025-07-13 12:23:49 -04:00
Carlo Costanzo
93fcd66d9c Refactor climate.yaml to correct entity_id references for utility meters and remove unnecessary cycle settings. This improves the accuracy of AC runtime tracking for filter changes. 2025-07-13 12:18:25 -04:00
github-actions[bot]
ff868369db Update HA version badge to 2025.7.1 2025-07-12 21:45:00 +00:00
Carlo Costanzo
61811ede4f June Updates (#1522)
* Add nightly reboot schedule for Frigate server in Proxmox configuration

* Update HA version to 2025.6.1

* Update HA version to 2025.7.1, increase recorder purge days to 30, and enhance climate package with new sensors and utility meters for AC runtime tracking. In service of AC filter changing.  #273

---------

Co-authored-by: Carlo Costanzo <CCOSTAN@users.noreply.github.com>
2025-07-12 17:44:42 -04:00
github-actions[bot]
ac4d927968 Update HA version badge to 2025.6.0 2025-06-13 14:14:48 +00:00
Carlo Costanzo
220bf64e51 New Version 2025-06-13 10:14:28 -04:00
github-actions[bot]
917469361d Update HA version badge to 2025.5.3 2025-06-13 14:12:25 +00:00
Carlo Costanzo
ff24c6cf9d Updated screenshot for tablet view 2025-06-13 10:12:06 -04:00
github-actions[bot]
0a285a0cbf Update HA version badge to 2025.5.3 2025-06-13 14:00:41 +00:00
Carlo Costanzo
c314ff2aed Move automation to prevent upstairs Nest temperature from dropping below 76°F 2025-06-13 10:00:11 -04:00
github-actions[bot]
536e352b1a Update HA version badge to 2025.5.3 2025-06-11 18:46:47 +00:00
Carlo Costanzo
c5ab958dbf Enhance UV index reporting by adding weather-related tips and improving sensor data display 2025-06-11 14:46:18 -04:00
Carlo Costanzo
571b964dd3 Refactor speech briefing template to improve formatting for resident location display 2025-06-11 14:46:18 -04:00
github-actions[bot]
a2be180639 Update HA version badge to 2025.5.3 2025-06-10 19:43:00 +00:00
Carlo Costanzo
8b0844299b R 2025-06-10 15:42:30 -04:00
github-actions[bot]
db41e60123 Update HA version badge to 2025.5.3 2025-06-02 20:48:41 +00:00
Carlo Costanzo
cfcbdd0460 Fix a lot of the switches after messing with Tuya integrations 2025-06-02 16:48:19 -04:00
github-actions[bot]
97213e22ad Update HA version badge to 2025.5.3 2025-05-29 17:59:10 +00:00
Carlo Costanzo
0e5a962863 Improve clarity in speech briefing templates by refining instructional text for quotes and facts. 2025-05-29 13:58:47 -04:00
github-actions[bot]
d2a157afe2 Update HA version badge to 2025.5.3 2025-05-29 17:13:04 +00:00
Carlo Costanzo
7dd07a011d Refactor AC media player scripts and add binary sensors for cooling status AC filter changing. #273 2025-05-29 13:12:39 -04:00
github-actions[bot]
b227b3d01d Update HA version badge to 2025.5.3 2025-05-29 13:33:19 +00:00
Carlo Costanzo
38103c586e additional fixes to the cooling tracker AC filter changing. #273 2025-05-29 09:32:57 -04:00
github-actions[bot]
30c9b3e193 Update HA version badge to 2025.5.3 2025-05-28 21:51:58 +00:00
Carlo Costanzo
4ca34cee22 Additional Fixes for AC filter changing. #273 2025-05-28 17:51:34 -04:00
github-actions[bot]
4a1989e080 Update HA version badge to 2025.5.3 2025-05-28 21:28:11 +00:00
Carlo Costanzo
da13093f1b Some minor AI Prompt revisions 2025-05-28 17:27:43 -04:00
github-actions[bot]
92ab5e1b0a Update HA version badge to 2025.5.3 2025-05-28 21:08:40 +00:00
Carlo Costanzo
6f5090b5e4 Add climate filter change tracking and notifications - AC filter changing. #273 (#1512) 2025-05-28 17:08:23 -04:00
github-actions[bot]
1c57ffa991 Update HA version badge to 2025.5.3 2025-05-28 20:42:10 +00:00
Carlo Costanzo
ec8ada20e2 Remove deprecated groups for home modes, triggers, and weather 2025-05-28 16:41:27 -04:00
github-actions[bot]
fbd7fe53db Update HA version badge to 2025.5.3 2025-05-28 18:58:10 +00:00
Carlo Costanzo
c188e11582 Merge pull request #1511 from CCOSTAN/Speedtest-Alerts
Add .git-credentials to .gitignore
2025-05-28 14:57:52 -04:00
Carlo Costanzo
0541e70e90 Add .git-credentials to .gitignore 2025-05-28 14:49:13 -04:00
github-actions[bot]
48c2bd036a Update HA version badge to 2025.5.3 2025-05-28 18:47:32 +00:00
Carlo Costanzo
a8e116e9b9 Merge pull request #1510 from CCOSTAN/Speedtest-Alerts
Add automation to notify Carlo of slow internet speeds and restoration
2025-05-28 14:47:12 -04:00
Carlo Costanzo
8eeeaf4c5f Add automation to notify Carlo of slow internet speeds and restoration 2025-05-28 14:33:11 -04:00
github-actions[bot]
6407f68058 Update HA version badge to 2025.5.3 2025-05-26 21:10:04 +00:00
CCOSTAN
4776b9ddf3 Created new Locator automation to trigger 'where is everyone automation'. #1472 2025-05-26 21:09:46 +00:00
github-actions[bot]
9b1b76e877 Update HA version badge to 2025.3.3 2025-03-21 13:52:34 +00:00
CCOSTAN
047f3a3a8c Lots of little maintenance updates across the environment thanks to Spook 2025-03-21 13:52:14 +00:00
github-actions[bot]
ffb52d7302 Update HA version badge to 2025.2.5 2025-03-04 18:17:59 +00:00
CCOSTAN
4caff5def4 Updated scripts and versions. Also adding in UI Yaml to help everyone. removed CACHE from TTS, 2025-03-04 18:17:35 +00:00
github-actions[bot]
bcee75652d Update HA version badge to 2025.2.4 2025-02-18 17:12:37 +00:00
CCOSTAN
2600a391cb Closes #1383 - Announces shower notification near the 2 bathrooms. 2025-02-18 17:12:15 +00:00
github-actions[bot]
e9127ee527 Update HA version badge to 2025.2.4 2025-02-18 16:56:32 +00:00
CCOSTAN
08bcbae544 Closes #1115 - Printer Announcements 2025-02-18 16:56:06 +00:00
github-actions[bot]
184a084f9f Update HA version badge to 2025.2.1 2025-02-12 19:27:52 +00:00
CCOSTAN
6d2830f9af Closes out #1498 with some alerting automations 2025-02-12 19:27:31 +00:00
github-actions[bot]
40c08da183 Update HA version badge to 2025.2.1 2025-02-10 16:45:09 +00:00
CCOSTAN
f0255cb46e More #1502 enhancements 2025-02-10 16:44:44 +00:00
github-actions[bot]
e7e3a68e60 Update HA version badge to 2025.2.0 2025-02-07 17:03:58 +00:00
CCOSTAN
9752103e55 Let's turn the outside lights the color of the team that just scored too #1502 2025-02-07 17:03:37 +00:00
github-actions[bot]
be0ecbe727 Update HA version badge to 2025.2.0 2025-02-07 16:31:44 +00:00
CCOSTAN
791b504aa6 Closes #1502 2025-02-07 16:31:21 +00:00
github-actions[bot]
7ffa991419 Update HA version badge to 2025.1.4 2025-01-31 18:56:58 +00:00
CCOSTAN
0d95692dc9 Added Temp Automations for the Garage. and took the smart switches from the garage out of the group so they won't be shut by acccident. Closes #1500 2025-01-31 18:56:37 +00:00
github-actions[bot]
f8f7e0cfcf Update HA version badge to 2025.1.4 2025-01-27 20:53:20 +00:00
CCOSTAN
83f229b6bf Adding a new light to the upstairs lamp. Updating some of the automations. 2025-01-27 20:52:55 +00:00
github-actions[bot]
1575f25a45 Update HA version badge to 2025.1.4 2025-01-27 19:06:48 +00:00
CCOSTAN
0f2691bad4 New lights and stuff. 2025-01-27 19:06:25 +00:00
github-actions[bot]
60446c803c Update HA version badge to 2025.1.4 2025-01-24 18:02:48 +00:00
CCOSTAN
75f4878930 Update to better reflect the X follow count since the API is now closed off. 2025-01-24 18:02:23 +00:00
github-actions[bot]
7946a23a47 Update HA version badge to 2025.1.4 2025-01-24 17:36:55 +00:00
CCOSTAN
8ea17e6d8f Added new Matter device to replace light.sink 2025-01-24 17:36:30 +00:00
github-actions[bot]
3e53f43b3c Update HA version badge to 2025.1.3 2025-01-23 18:27:19 +00:00
CCOSTAN
51b2de09a9 Updated correctly to not track communnity cards 2025-01-23 18:26:56 +00:00
CCOSTAN
478e946d35 Remove config/www/community from tracking 2025-01-23 18:26:37 +00:00
github-actions[bot]
37746814e7 Update HA version badge to 2025.1.3 2025-01-23 18:18:20 +00:00
Carlo Costanzo
8d6345308a Delete config/www/community/frigate-hass-card directory 2025-01-23 13:17:59 -05:00
github-actions[bot]
05a9013bf8 Update HA version badge to 2025.1.3 2025-01-23 18:16:49 +00:00
CCOSTAN
05afae689e Minor changes proposed by Spook! #1350 2025-01-23 18:16:25 +00:00
github-actions[bot]
9aedbc792d Update HA version badge to 2025.1.3 2025-01-22 15:56:28 +00:00
CCOSTAN
9e4a9ad520 closes #1496 - Updated gitignore file. - Thanks for the heads up! 2025-01-22 15:55:48 +00:00
github-actions[bot]
2993102ed8 Update HA version badge to 2025.1.2 2025-01-21 05:16:31 +00:00
CCOSTAN
12a8ee2c2a #1490 - Tesla Changes and some other minor things. 2025-01-21 05:16:08 +00:00
github-actions[bot]
885dc0a65c Update HA version badge to 2025.1.2 2025-01-17 19:45:54 +00:00
CCOSTAN
f7351aca3c Updated some Lock automations and added the ThinLG HACS code. 2025-01-17 19:45:32 +00:00
594 changed files with 1689 additions and 21468 deletions

66
.gitignore vendored
View File

@@ -1,4 +1,7 @@
*.DISABLED # .gitignore for Home Assistant - https://www.vcloudinfo.com/click-here
# Ignore common Home Assistant files and directories
# System files
*.pid *.pid
*.xml *.xml
*.csr *.csr
@@ -10,39 +13,54 @@
*.sqlite *.sqlite
*.log* *.log*
*.db *.db
core.*
core
.uuid
.git-credentials
# Home Assistant specific
*.DISABLED
.cloud .cloud
.storage .storage
.vscode .vscode
.google.token .google.token
.uuid
core.*
core
home-assistant_v2 home-assistant_v2
home-assistant_v2.* home-assistant_v2.*
backups
deps
/config/backups
icloud
__pycache__
hacs
alexa_media
custom_components
<<<<<<< HEAD
/config/www/community/
=======
/config/www/community
>>>>>>> 5816fb3 (Add .gitignore file)
community
image
tts
secrets.yaml
secrets
known_devices.yaml
.homekit.state .homekit.state
ipchange.yaml ipchange.yaml
ip_bans.yaml ip_bans.yaml
production_auth.json production_auth.json
OZW_Log.txt OZW_Log.txt
.spotify-token-cache
google_calendars.yaml
.ring_cache.pickle
.ios.conf
# Configuration files
secrets.yaml
secrets
known_devices.yaml
entity_registry.yaml
.google_maps_location_sharing.cookies*
google_service_account.json
service_account.json
*.token
*.tokens
*.cookies
# Directories
backups
deps
config/backups
icloud
__pycache__
hacs
alexa_media
custom_components
config/www/community
community
image
tts
.ssh
.auth
.nest

View File

@@ -7,7 +7,7 @@
<p align="center"><a align="center" target="_blank" href="https://vcloudinfo.us12.list-manage.com/subscribe?u=45cab4343ffdbeb9667c28a26&id=e01847e94f"><img src="https://feeds.feedburner.com/RecentCommitsToBearStoneHA.1.gif" alt="Recent Commits to Bear Stone Smart Home" style="border:0"></a></p> <p align="center"><a align="center" target="_blank" href="https://vcloudinfo.us12.list-manage.com/subscribe?u=45cab4343ffdbeb9667c28a26&id=e01847e94f"><img src="https://feeds.feedburner.com/RecentCommitsToBearStoneHA.1.gif" alt="Recent Commits to Bear Stone Smart Home" style="border:0"></a></p>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)
@@ -259,10 +259,8 @@ Defining Guest Mode - /config/input_boolean/home_modes.yaml#L1-L4</a><br>
Using Guest mode as a condition - /config/script/speech_engine.yaml#L26-L28</a><br> Using Guest mode as a condition - /config/script/speech_engine.yaml#L26-L28</a><br>
<p></details> <p></details>
<details> <details>
<summary>Track garbage days and chore days for the kids. Voice reminders and Alexa intergration/request for info.'</summary><p align="center"> <summary>Track garbage days. Voice reminders and Alexa intergration/request for info.'</summary><p align="center">
<a href=https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/input_boolean/hidden_booleans.yaml#L5-L7> <a href=https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/input_boolean/hidden_booleans.yaml#L5-L7>
Defining responsibilities trigger - /config/input_boolean/hidden_booleans.yaml#L5-L7</a><br>
<a href=https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/script/speech_engine.yaml#L56-L68>
Responsibility Speech Code - /config/script/speech_engine.yaml#L56-L68</a><br> Responsibility Speech Code - /config/script/speech_engine.yaml#L56-L68</a><br>
<p></details> <p></details>
<details> <details>
@@ -956,8 +954,8 @@ Process Monitor Package - /config/packages/processmonitor.yaml</a><br>
The [issues section](https://github.com/CCOSTAN/Home-AssistantConfig/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) on github is where I store all my wishful ideas and future enhancements. The [issues section](https://github.com/CCOSTAN/Home-AssistantConfig/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc) on github is where I store all my wishful ideas and future enhancements.
Feel free to join the conversations there. Feel free to join the conversations there.
[![Screenshot of Alarm Clock View](https://i.imgur.com/mLMrky1.jpg)](https://www.vcloudinfo.com/2017/11/building-worlds-greatest-smart-alarm.html) [![Screenshot of Kiosk View](https://i.imgur.com/653S6jX.png)](https://www.vcloudinfo.com/2017/11/building-worlds-greatest-smart-alarm.html)
[![Screenshot of Alarm View](https://i.imgur.com/zmb3Rtn.png)](https://www.vcloudinfo.com/2017/07/visualizing-smart-home-using-home.html) [![Screenshot of Home View](https://i.imgur.com/zmb3Rtn.png)](https://www.vcloudinfo.com/2017/07/visualizing-smart-home-using-home.html)
**All files are now being edited with [Cursor.ai](https://www.cursor.com/).** **All files are now being edited with [Cursor.ai](https://www.cursor.com/).**

View File

@@ -1 +1 @@
2025.1.2 2025.8.0

View File

@@ -7,7 +7,7 @@
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -0,0 +1,187 @@
cards:
- type: custom:mushroom-vacuum-card
entity: vacuum.l10s_vacuum
icon_animation: true
commands:
- return_home
- start_pause
- locate
double_tap_action:
action: none
tap_action:
action: navigate
navigation_path: /lovelace/vacuum
visibility:
- condition: state
entity: vacuum.l10s_vacuum
state_not: docked
primary_info: name
fill_container: true
grid_options:
rows: 1
columns: full
layout: horizontal
- type: custom:search-card
max_results: 10
- type: custom:bubble-card
card_type: button
button_type: slider
entity: light.living_room_lights
name: Living Room Lights
icon: mdi:sofa
show_state: true
show_attribute: false
show_last_changed: true
tap_action:
action: navigate
navigation_path: "#living_room"
grid_options:
columns: 6
rows: 1
card_layout: large
- type: vertical-stack
cards:
- type: custom:bubble-card
card_type: pop-up
hash: "#living_room"
button_type: slider
entity: light.living_room_lights
name: Living Room Lights
icon: mdi:sofa
show_attribute: false
slide_to_close_distance: "100000"
trigger: []
bg_opacity: "35"
show_state: true
show_last_changed: true
tap_action:
action: toggle
- type: custom:bubble-card
card_type: button
button_type: slider
entity: light.m1_front_left
name: Front Left
icon: mdi:light-recessed
show_state: true
show_attribute: false
show_last_changed: true
sub_button: []
grid_options:
columns: 6
rows: 1
columns: 2
- type: custom:bubble-card
card_type: button
button_type: slider
entity: light.m1_front_right
name: Front Right
icon: mdi:light-recessed
show_state: true
show_attribute: false
show_last_changed: true
sub_button: []
grid_options:
columns: 6
rows: 1
- type: custom:bubble-card
card_type: button
button_type: slider
entity: light.m1_back_left
name: Back Left
icon: mdi:light-recessed
show_state: true
show_attribute: false
show_last_changed: true
sub_button: []
grid_options:
columns: 6
rows: 1
- type: custom:bubble-card
card_type: button
button_type: slider
entity: light.m1_back_right
name: Back Right
icon: mdi:light-recessed
show_state: true
show_attribute: false
show_last_changed: true
sub_button: []
grid_options:
columns: 6
rows: 1
grid_options:
columns: 12
rows: auto
- type: custom:bubble-card
card_type: button
button_type: switch
entity: group.interior_switches
name: Interior Switches
icon: mdi:lightning-bolt
show_state: true
show_attribute: false
show_last_changed: false
button_action:
tap_action:
action: more-info
grid_options:
columns: 6
rows: 1
tap_action:
action: toggle
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: []

View 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

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -50,7 +50,7 @@
{%- endmacro -%} {%- endmacro -%}
{{greeting_sentence(person)}} {{greeting_sentence(person)}}
call_responsibilities: 1 call_garbage_day: 1
call_no_announcement: 1 call_no_announcement: 1
call_garage_check: 1 call_garage_check: 1
call_window_check: 1 call_window_check: 1

View File

@@ -26,7 +26,7 @@
- service: script.speech_engine - service: script.speech_engine
data: data:
call_inside_weather: 1 call_inside_weather: 1
call_responsibilities: 1 call_garbage_day: 1
call_outside_weather: 1 call_outside_weather: 1
call_garage_check: 1 call_garage_check: 1
call_window_check: 1 call_window_check: 1

View File

@@ -0,0 +1,25 @@
#-------------------------------------------
# Locator Automation
# Description: Announces the location of all family members when triggered
#
# Features:
# - Triggered by input_boolean.locator (for Alexa integration)
# - Uses speech_engine script to announce where everyone is
# - Designed for use with Alexa ("Alexa, turn on locator")
#
# Follow me on https://www.vcloudinfo.com/click-here
#-------------------------------------------
- alias: 'Locator'
id: locator-announcement-001
mode: single
trigger:
- platform: state
entity_id: input_boolean.locator
to: 'on'
action:
- service: script.speech_engine
data:
call_no_announcement: 1
- service: input_boolean.turn_off
data:
entity_id: input_boolean.locator

View File

@@ -1,19 +0,0 @@
######################################################################
## Announce when one of the nests kick in
## Announce over all Chromecast Audios
######################################################################
- alias: 'Nest Status'
id: 7812fdaf-a3f8-498b-8f07-28e977e528fe
trigger:
- platform: state
entity_id:
- climate.downstairs
- climate.upstairs
from: 'off'
action:
- service: script.speech_engine
data:
NestStatus: "The {{ trigger.entity_id.split('.')[1].split('_')[0]}} {{ trigger.entity_id.split('.')[1].split('_')[1]}} has now been turned on for {{(trigger.to_state.state)}}."
call_window_check: 1

View File

@@ -1,22 +0,0 @@
#-------------------------------------------
# Responsibilities Announcement
# Description: Triggers a speech announcement for daily responsibilities
#
# Features:
# - Announces garbage day and recycling reminders
# - Triggered by an input_boolean entity
#
# Integration: Uses speech_engine script for announcements
# Follow me on https://www.vcloudinfo.com/click-here
#-------------------------------------------
- alias: 'responsibilities'
id: f39bd8db-a348-4024-a6a6-a3e3c836646c
trigger:
- platform: state
entity_id: input_boolean.responsibilities
to: 'on'
action:
- service: script.speech_engine
data:
call_responsibilities: 1

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -8,7 +8,7 @@
- platform: state - platform: state
entity_id: entity_id:
- light.hallway_lights - light.hallway_lights
- light.foyer_lights - light.foyer
to: 'on' to: 'on'
for: '00:20:00' for: '00:20:00'
@@ -52,4 +52,4 @@
- light.flood_2 - light.flood_2
- light.hallway - light.hallway
- light.hallway_lights - light.hallway_lights
- light.foyer_lights - light.foyer

View File

@@ -1,36 +0,0 @@
######################################################################
## Stuff that needs to happen at 08:00am.
######################################################################
- alias: 'Timed 0630'
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

View File

@@ -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

View File

@@ -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,38 @@
- 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
- wait_template: >-
{{ states.sun.sun.state == 'above_horizon' }}
- service: homeassistant.turn_on
entity_id:
- switch.alarm_panel_1_motion_detection
- switch.office_lamp_switch
- service: number.set_value
target:
entity_id: number.alarm_panel_1_screen_brightness
data:
value: 100
- 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

View File

@@ -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:

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -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'
@@ -42,3 +42,31 @@
- service: switch.turn_off - service: switch.turn_off
data: data:
entity_id: "{{ trigger.entity_id }}" entity_id: "{{ trigger.entity_id }}"
- alias: 'Bedroom Screensaver Watchdog'
id: Bedroom-Screensaver-Watchdog-automation
trigger:
- platform: state
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
to: 'on'
- platform: state
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
to: 'on'
- platform: state
entity_id: switch.alarm_panel_1_screensaver
to: 'off'
condition:
- condition: or
conditions:
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
state: 'on'
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'on'
action:
- service: switch.turn_on
entity_id: switch.alarm_panel_1_screensaver

View File

@@ -1,28 +0,0 @@
###################################
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
## Start Up Section
## Video Explanation can be found here :
## https://www.vcloudinfo.com/2019/06/how-to-use-template-conditions-in-home-assistant.html
###################################
- alias: Check if it's summer vacation on startup.
id: 65f91ec6-b9ad-45de-9ffa-023598980019
trigger:
- platform: homeassistant
event: start
- platform: time_pattern
hours: '/12'
condition:
- condition: template
value_template: >
{% set month=states("sensor.date").split('-')[1] | int %}
{%- if month == 4 or month == 5 or month == 6 or month == 7 -%}
true
{%- endif -%}
action:
- service: input_boolean.turn_off
entity_id: input_boolean.school_mode

View File

@@ -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:

View File

@@ -54,4 +54,5 @@
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.living_room_accents - light.living_room_accents
- light.upstairs_lamp

View File

@@ -21,8 +21,14 @@
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 - service: number.set_value
target:
entity_id: number.alarm_panel_1_screen_brightness
data:
value: 100

View File

@@ -12,6 +12,16 @@
- platform: state - platform: state
entity_id: group.family entity_id: group.family
to: 'not_home' to: 'not_home'
- platform: sun
event: sunrise
offset: '-02:00:00'
- platform: sun
event: sunset
offset: '+00:30:00'
- platform: time
at:
- '03:00:00'
- '12:00:00'
condition: condition:
- condition: state - condition: state
@@ -30,4 +40,3 @@
- service: switch.turn_off - service: switch.turn_off
entity_id: switch.back_landscaping entity_id: switch.back_landscaping

View File

@@ -15,23 +15,6 @@
data: data:
flash: long flash: long
- service: input_boolean.turn_off
entity_id: input_boolean.flash
- alias: 'Flash Timer Lights'
id: caac7e80-6f43-4029-ad40-420e70f67cd7
trigger:
- platform: state
entity_id: input_boolean.flash
to: 'on'
from: 'off'
- platform: event
#Sent from IFTTT Webhooks : {"action":"Flash_Timer"}
event_type: ifttt_webhook_received
event_data:
action: Flash_Timer
action:
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.bedroom - light.bedroom
@@ -42,8 +25,20 @@
- light.couch_1 - light.couch_1
- light.upstairs_lamp - light.upstairs_lamp
- light.office_lamp - light.office_lamp
- light.slider - light.main_slider
- light.garage_attic - light.garage_attic
- light.bedroom_lights
- light.dinette_lights
- light.dining_room_lights
- light.foyer
- light.garage_lights
- light.hallway_lights
- light.kitchen_lights
- light.living_room_accents
- light.living_room_lights
- light.office_lights
- light.upstairs_lights
- light.garage_hallway
# - light.den_lamp # - light.den_lamp
data: data:
flash: long flash: long

View File

@@ -1,44 +0,0 @@
######################################################################
## Weekday Morning Routines for the Wife and Kiddos.
######################################################################
- alias: 'Good Morning Routine'
id: 1432bac8-311b-4618-8f8f-19dd848791b6
trigger:
- platform: state
entity_id: input_boolean.good_morning
to: 'on'
from: 'off'
- platform: state
entity_id:
- binary_sensor.sleepnumber_carlo_stacey_is_in_bed
to: 'off'
for: '00:05:00'
condition:
- condition: state
entity_id: group.family
state: home
- condition: state
entity_id: input_boolean.school_mode
state: 'on'
- condition: time
after: '05:30:00'
before: '08:00:00'
- condition: time
weekday:
- mon
- tue
- wed
- thu
- fri
action:
- service: light.turn_on
entity_id:
- light.s1
- light.s4
- service: switch.turn_on
entity_id: group.kitchen_accents
- service: input_boolean.turn_off
entity_id: input_boolean.good_morning

View File

@@ -51,7 +51,14 @@
- 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
- service: number.set_value
target:
entity_id: number.alarm_panel_1_screen_brightness
data:
value: 0
- alias: 'Bed Presence AMP Trigger' - alias: 'Bed Presence AMP Trigger'
id: 26846f7b-bc76-43d2-99be-af552d2300f id: 26846f7b-bc76-43d2-99be-af552d2300f
@@ -66,7 +73,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"
@@ -84,7 +90,12 @@
- light.outdoor_bathroom - light.outdoor_bathroom
- group.master_bathroom_accents - group.master_bathroom_accents
- group.landscaping - group.landscaping
- switch.alarm_panel_1_motion_detection
- service: number.set_value
target:
entity_id: number.alarm_panel_1_screen_brightness
data:
value: 0
default: default:
- service: homeassistant.turn_on - service: homeassistant.turn_on
target: target:

View File

@@ -23,7 +23,7 @@
action: action:
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.slider - light.main_slider
- light.foyer - light.foyer
- light.fridge - light.fridge
- light.M1_front_right - light.M1_front_right
@@ -46,7 +46,7 @@
- light.S4 - light.S4
- light.foyer - light.foyer
- light.fridge - light.fridge
- light.slider - light.main_slider
- light.M1_front_right - light.M1_front_right

View File

@@ -1,49 +0,0 @@
blueprint:
name: Motion-activated Light
domain: automation
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml
input:
motion_entity:
name: Motion Sensor
selector:
entity:
domain: binary_sensor
device_class: motion
light_target:
name: Light
selector:
target:
entity:
domain: light
no_motion_wait:
name: Wait time
description: Time to wait until the light should be turned off.
default: 120
selector:
number:
min: 0
max: 3600
unit_of_measurement: seconds
# If motion is detected within the delay,
# we restart the script.
mode: restart
max_exceeded: silent
trigger:
platform: state
entity_id: !input motion_entity
from: "off"
to: "on"
action:
- service: light.turn_on
target: !input light_target
- wait_for_trigger:
platform: state
entity_id: !input motion_entity
from: "on"
to: "off"
- delay: !input no_motion_wait
- service: light.turn_off
target: !input light_target

View File

@@ -1,41 +0,0 @@
blueprint:
name: Send notification when a person leaves a zone
domain: automation
source_url: https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/notify_leaving_zone.yaml
input:
person_entity:
name: Person
selector:
entity:
domain: person
zone_entity:
name: Zone
selector:
entity:
domain: zone
notify_device:
name: Device to notify
description: Device needs to run the official Home Assistant app to receive notifications.
selector:
device:
integration: mobile_app
trigger:
platform: state
entity_id: !input person_entity
variables:
zone_entity: !input zone_entity
zone_state: "{{ states[zone_entity].name }}"
person_entity: !input person_entity
person_name: "{{ states[person_entity].name }}"
condition:
condition: template
value_template: "{{ trigger.from_state.state == zone_state and trigger.to_state.state != zone_state }}"
action:
domain: mobile_app
type: notify
device_id: !input notify_device
message: "{{ person_name }} has left {{ zone_state }}"

View File

@@ -1,74 +0,0 @@
blueprint:
name: Confirmable Notification
description: >-
A script that sends an actionable notification with a confirmation before
running the specified action.
domain: script
source_url: https://github.com/home-assistant/core/blob/master/homeassistant/components/script/blueprints/confirmable_notification.yaml
input:
notify_device:
name: Device to notify
description: Device needs to run the official Home Assistant app to receive notifications.
selector:
device:
integration: mobile_app
title:
name: "Title"
description: "The title of the button shown in the notification."
default: ""
selector:
text:
message:
name: "Message"
description: "The message body"
selector:
text:
confirm_text:
name: "Confirmation Text"
description: "Text to show on the confirmation button"
default: "Confirm"
selector:
text:
confirm_action:
name: "Confirmation Action"
description: "Action to run when notification is confirmed"
default: []
selector:
action:
dismiss_text:
name: "Dismiss Text"
description: "Text to show on the dismiss button"
default: "Dismiss"
selector:
text:
dismiss_action:
name: "Dismiss Action"
description: "Action to run when notification is dismissed"
default: []
selector:
action:
mode: restart
sequence:
- alias: "Send notification"
domain: mobile_app
type: notify
device_id: !input notify_device
title: !input title
message: !input message
data:
actions:
- action: "CONFIRM"
title: !input confirm_text
- action: "DISMISS"
title: !input dismiss_text
- alias: "Awaiting response"
wait_for_trigger:
- platform: event
event_type: mobile_app_notification_action
- choose:
- conditions: "{{ wait.trigger.event.data.action == 'CONFIRM' }}"
sequence: !input confirm_action
- conditions: "{{ wait.trigger.event.data.action == 'DISMISS' }}"
sequence: !input dismiss_action

View File

@@ -34,72 +34,40 @@ cloud:
- group.outdoor_seasonal - group.outdoor_seasonal
- group.master_bathroom_accents - group.master_bathroom_accents
- group.kitchen_accents - group.kitchen_accents
- group.kitchen_lights
- light.bedroom - light.bedroom
- light.bedroom_lights - light.bedroom_lights
- light.den_lights - light.den_lights
- light.dinette_lights - light.dinette_lights
- light.dining_room_lights - light.dining_room_lights
- light.foyer_lights - light.foyer
- light.garage_lights - light.garage_lights
- light.hallway_lights - light.hallway_lights
- light.kitchen_lights
- light.living_room_accents - light.living_room_accents
- light.living_room_lights - light.living_room_lights
- light.office_lights - light.office_lights
- light.outdoor_front_lights - light.outdoor_front_lights
- light.outdoor_pool_lights - light.outdoor_pool_lights
- light.upstairs_lights - light.upstairs_lights
- light.upstairs_lamp
- light.sink
include_domains: include_domains:
- switch - switch
- cover - cover
- input_boolean - input_boolean
- camera - camera
# entity_config:
# light.kitchen_lights:
# display_categories: LIGHT
#discovery: #discovery:
# This groups up lights but displays them as light.xxxx
light: !include light_groups.yaml light: !include light_groups.yaml
ifttt: ifttt:
key: !secret ifttt_key key: !secret ifttt_key
logbook: logbook: !include logbook.yaml
exclude:
entities:
- automation.detect_lights_and_adjust_the_brightness_when_turned_on_based_on_time
- automation.cuckoo_clock
- binary_sensor.office_motion
- group.garage_doors
- media_player.LivingRoomCC
- py.warnings
- sensor.small_garage_status
- sensor.large_garage_status
- sensor.small_garage_time_in_state
- sensor.large_garage_time_in_state
- sensor.large_garage_wifi_signal_strength
- sensor.small_garage_wifi_signal_strength
- sensor.small_garage_reflection_rate
- sensor.large_garage_reflection_rate
- sensor.pi_hole_ads_blocked_today
- sensor.pi_hole_ads_percentage_blocked_today
- sensor.pi_hole_dns_queries_today
- sensor.time
- sensor.date
- sensor.floorplan_date
- sensor.floorplan_time
- sensor.ha_uptime
- sensor.sleepnumber_carlo_stacey_pressure
- sensor.sleepnumber_carlo_carlo_pressure
logger: !include logger.yaml logger: !include logger.yaml
recorder: !include recorder.yaml recorder: !include recorder.yaml
# zwave:
# usb_path: /dev/ttyACM0
# config_path: /srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
tts: tts:
homekit: !include homekit.yaml homekit: !include homekit.yaml

View File

@@ -4,11 +4,9 @@ Interior_Lights:
- group.kitchen_accents - group.kitchen_accents
- light.bedroom - light.bedroom
- light.bedroom_lights - light.bedroom_lights
- light.den_2
- light.den1
- light.dinette_lights - light.dinette_lights
- light.dining_room_lights - light.dining_room_lights
- light.foyer_lights - light.foyer
- light.garage_lights - light.garage_lights
- light.hallway_lights - light.hallway_lights
- light.kitchen_lights - light.kitchen_lights
@@ -17,6 +15,8 @@ Interior_Lights:
- light.office_lights - light.office_lights
- light.upstairs_lights - light.upstairs_lights
- light.garage_hallway - light.garage_hallway
- light.sink
- light.upstairs_lamp
Exterior_Lights: Exterior_Lights:
entities: entities:

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -1,9 +0,0 @@
home_modes:
entities:
- input_boolean.guest_mode
- input_boolean.school_mode
- input_boolean.alert_mode
- input_boolean.speech_notifications
- input_boolean.text_notifications

View File

@@ -3,8 +3,7 @@ media_players:
- media_player.livingroomcc - media_player.livingroomcc
- 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.bedroom_tablet
# - media_player.bedroom_alarm_panel
- media_player.living_room - media_player.living_room
- media_player.front_room_flex - media_player.front_room_flex
- media_player.garage - media_player.garage
@@ -24,6 +23,5 @@ tvs:
- media_player.roku_3810x_923c - media_player.roku_3810x_923c
- media_player.roku_living_room - media_player.roku_living_room
- media_player.tv_samsung_q70_series_65 - media_player.tv_samsung_q70_series_65
- media_player.upstairs_living_room

View File

@@ -14,18 +14,13 @@ Interior Switches:
- switch.lr_amp - switch.lr_amp
- switch.master_bathroom_accent_1 - switch.master_bathroom_accent_1
- switch.master_bathroom_accent_2 - switch.master_bathroom_accent_2
- switch.pool_deck #- switch.pool_deck - Not being used right now
- switch.foyer_outlet - switch.foyer_outlet
- switch.den_outlet - switch.den_outlet
- switch.living_room_outlet - switch.living_room_outlet
- switch.living_room_tv_outlet - switch.living_room_tv_outlet
- switch.office_lamp_switch_socket - switch.office_lamp_switch
- switch.front_office_lamp - switch.front_office_lamp
- switch.smart_power_strip_socket_1
- switch.smart_power_strip_socket_2
- switch.smart_power_strip_socket_3
- switch.smart_power_strip_socket_4
- switch.smart_power_strip_usb_1
Kitchen Accents: Kitchen Accents:
entities: entities:

View File

@@ -1,13 +0,0 @@
Triggers:
entities:
- input_boolean.responsibilities
- input_boolean.home_stats
- input_boolean.flash
- input_boolean.guard_dog
- input_boolean.sleepy_dog
- input_boolean.good_morning
- input_boolean.good_night
- input_boolean.meal_time
- input_boolean.tv_time
- input_boolean.work

View File

@@ -1,18 +0,0 @@
Weather:
entities:
- climate.downstairs
# - sensor.downstairs_thermostat_humidity
- climate.upstairs
# - sensor.upstairs_thermostat_humidity
- sensor.pirateweather_cloud_coverage
- sensor.pirateweather_minutely_summary
# - sensor.pirateweather_nearest_storm_distance
- sensor.pirateweather_precip_intensity
# - sensor.pirateweather_daily_max_precip_intensity
- sensor.pirateweather_wind_speed
- sensor.pirateweather_humidity
- sensor.pirateweather_temperature
- sensor.pirateweather_uv_index
- sensor.moon
# - sensor.launch_window
- sensor.next_launch

View File

@@ -35,7 +35,7 @@ filter:
- light.den_lights - light.den_lights
- light.dinette_lights - light.dinette_lights
- light.dining_room_lights - light.dining_room_lights
- light.foyer_lights - light.foyer
- light.garage_lights - light.garage_lights
- light.hallway_lights - light.hallway_lights
- light.kitchen_lights - light.kitchen_lights
@@ -45,6 +45,8 @@ filter:
- light.outdoor_front_lights - light.outdoor_front_lights
- light.outdoor_pool_lights - light.outdoor_pool_lights
- light.upstairs_lights - light.upstairs_lights
- light.upstairs_lamp
- light.sink
- switch.lr_amp - switch.lr_amp
exclude_entities: exclude_entities:
- lock.spaceship_door_lock - lock.spaceship_door_lock

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -1,7 +1,3 @@
home_stats: home_stats:
name: Home Stats name: Home Stats
initial: off initial: off
responsibilities:
name: responsibilities
initial: off

View File

@@ -3,11 +3,6 @@ guest_mode:
icon: mdi:account-alert icon: mdi:account-alert
initial: off initial: off
school_mode:
name: School Mode
icon: mdi:school
initial: on
alert_mode: alert_mode:
name: Alert Mode name: Alert Mode
icon: mdi:alert-octagram icon: mdi:alert-octagram

View File

@@ -2,11 +2,6 @@
good_night: good_night:
name: Good Night name: Good Night
initial: off initial: off
good_morning:
name: Good Morning
initial: off
meal_time: meal_time:
name: Meal Time name: Meal Time
initial: off initial: off
@@ -30,3 +25,7 @@ color_tornado:
guard_dog: guard_dog:
name: Guard Dog name: Guard Dog
initial: off initial: off
locator:
name: Locator
icon: mdi:map-marker-account
initial: off

View File

@@ -3,6 +3,7 @@
# #
# Description: This file defines light groups for improved control and integration # Description: This file defines light groups for improved control and integration
# with voice assistants like Alexa and smart home platforms like HomeKit. # with voice assistants like Alexa and smart home platforms like HomeKit.
# Shows the groups as light.xxxx
# #
# For more information and updates, visit: # For more information and updates, visit:
# https://www.vcloudinfo.com/click-here # https://www.vcloudinfo.com/click-here
@@ -11,7 +12,6 @@
# Related Issue: https://github.com/CCOSTAN/Home-AssistantConfig/issues/764 # Related Issue: https://github.com/CCOSTAN/Home-AssistantConfig/issues/764
#------------------------------------------- #-------------------------------------------
- platform: group - platform: group
name: Kitchen Lights name: Kitchen Lights
entities: entities:
@@ -36,7 +36,7 @@
- light.m1_back_right - light.m1_back_right
- light.m1_front_left - light.m1_front_left
- light.m1_front_right - light.m1_front_right
- light.slider - light.main_slider
- platform: group - platform: group
name: Living Room Accents name: Living Room Accents
@@ -57,7 +57,7 @@
# - light.den_lamp # - light.den_lamp
- platform: group - platform: group
name: Foyer lights name: Foyer
entities: entities:
- light.f1 - light.f1
- light.f2 - light.f2

42
config/logbook.yaml Normal file
View File

@@ -0,0 +1,42 @@
#-------------------------------------------
# Logbook Configuration
# Description: Settings for the Home Assistant logbook component
# This component is responsible for displaying items in the logbook.
# Follow me on https://www.vcloudinfo.com/click-here
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
#-------------------------------------------
exclude:
entity_globs:
- sensor.*_location
- sensor.*_place
- sensor.*_geocoded_location
- sensor.pirateweather_*
- weather.*
entities:
- automation.cuckoo_clock
- automation.detect_lights_and_adjust_the_brightness_when_turned_on_based_on_time
- binary_sensor.office_motion
- binary_sensor.refrigerator_door_open
- binary_sensor.rheem_wh_running
- group.garage_doors
- media_player.LivingRoomCC
- sensor.date
- sensor.downstairs_ac_cooling_numeric
- sensor.ha_uptime
- sensor.large_garage_reflection_rate
- sensor.large_garage_status
- sensor.large_garage_time_in_state
- sensor.large_garage_wifi_signal_strength
- sensor.pi_hole_ads_blocked_today
- sensor.pi_hole_ads_percentage_blocked_today
- sensor.pi_hole_dns_queries_today
- sensor.rheem_wh_running_state
- sensor.sleepnumber_carlo_carlo_pressure
- sensor.sleepnumber_carlo_stacey_pressure
- sensor.small_garage_reflection_rate
- sensor.small_garage_status
- sensor.small_garage_time_in_state
- sensor.small_garage_wifi_signal_strength
- sensor.time
- sensor.upstairs_ac_cooling_numeric

View File

@@ -14,13 +14,12 @@
default: info default: info
logs: logs:
AIOGitHubAPI: error
aiohttp.access: critical aiohttp.access: critical
aiohttp.server: critical aiohttp.server: critical
aiounifi: error aiounifi: error
custom_components.hacs: error custom_components.hacs: error
hacs: error hacs: error
queueman: error
AIOGitHubAPI: error
homeassistant.core: error homeassistant.core: error
homeassistant.config_entries: error homeassistant.config_entries: error
homeassistant.components.automation: warn homeassistant.components.automation: warn
@@ -29,10 +28,14 @@ logs:
homeassistant.components.device_tracker: error homeassistant.components.device_tracker: error
homeassistant.components.discovery: warn homeassistant.components.discovery: warn
homeassistant.components.feedreader: error homeassistant.components.feedreader: error
homeassistant.components.history: error
homeassistant.components.http: warn homeassistant.components.http: warn
homeassistant.components.ipp: critical homeassistant.components.ipp: critical
homeassistant.components.logbook: error
homeassistant.components.media_player: info homeassistant.components.media_player: info
homeassistant.components.mqtt: error
homeassistant.components.mqtt.discovery: critical homeassistant.components.mqtt.discovery: critical
homeassistant.components.persistent_notification: critical
homeassistant.components.rest.sensor: critical homeassistant.components.rest.sensor: critical
homeassistant.components.recorder: error homeassistant.components.recorder: error
homeassistant.components.sensor.pi_hole: critical homeassistant.components.sensor.pi_hole: critical
@@ -47,9 +50,11 @@ logs:
homeassistant.helpers.script: info homeassistant.helpers.script: info
homeassistant.helpers.entity: critical homeassistant.helpers.entity: critical
homeassistant.loader: warn homeassistant.loader: warn
homeassistant.components.websocket_api: error
pubnub: critical pubnub: critical
py.warnings: error py.warnings: error
pyhap.hap_server: warn pyhap.hap_server: warn
queueman: error
urllib3.connectionpool: error urllib3.connectionpool: error
requests.packages.urllib3.connectionpool: critical requests.packages.urllib3.connectionpool: critical
root: warn root: warn

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -210,7 +210,6 @@ group:
- binary_sensor.MCU2_GPIO12 - binary_sensor.MCU2_GPIO12
- binary_sensor.MCU2_GPIO13 - binary_sensor.MCU2_GPIO13
- binary_sensor.MCU2_GPIO14 - binary_sensor.MCU2_GPIO14
- binary_sensor.MCU2_GPIO15
- binary_sensor.MCU3_GPIO4 - binary_sensor.MCU3_GPIO4
- binary_sensor.MCU3_GPIO5 - binary_sensor.MCU3_GPIO5
- binary_sensor.MCU3_GPIO10 - binary_sensor.MCU3_GPIO10

View File

@@ -12,4 +12,3 @@ sensor:
{{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }} {{ states.media_player | selectattr('attributes.last_called','eq',True) | map(attribute='entity_id') | first | default('none') }}
#------------------------------------------- #-------------------------------------------

View File

@@ -10,6 +10,7 @@
# Moved Authentication to UI Integrations # Moved Authentication to UI Integrations
# Added to the LOCK group # Added to the LOCK group
# Added a check lock routine to the Briefing.yaml - Will check locks whenever there is a speech event. # Added a check lock routine to the Briefing.yaml - Will check locks whenever there is a speech event.
# Door will autoLock in 20 minutes. this is set up in the August App.
###################################################################### ######################################################################
## Door Lock Status Announcements - Only during normal hours. ## Door Lock Status Announcements - Only during normal hours.
@@ -31,20 +32,6 @@ automation:
data: data:
DoorLocked: "The {{ trigger.to_state.name }} is now {{ trigger.to_state.state }}." DoorLocked: "The {{ trigger.to_state.name }} is now {{ trigger.to_state.state }}."
- alias: 'Door UnLocked Announcement'
id: 5922becc-3249-40ea-bdb4-db97cc40c413
trigger:
- platform: state
entity_id:
- lock.front_door
to: 'unlocked'
for: '00:10:00'
action:
- service: script.speech_engine
data:
DoorUnLocked: "The {{ trigger.to_state.name }} has been {{ trigger.to_state.state }} for 10 minutes. I will lock it in 10 minutes if it is still unlocked."
- alias: 'August Battery Monitor' - alias: 'August Battery Monitor'
id: 82d6d09b-fba1-4320-8048-067043b490fc id: 82d6d09b-fba1-4320-8048-067043b490fc
mode: single mode: single
@@ -59,3 +46,25 @@ automation:
title: 'Low Battery' title: 'Low Battery'
value1: 'The August Door lock is at {{ states("sensor.front_door_battery") }}% ' value1: 'The August Door lock is at {{ states("sensor.front_door_battery") }}% '
group: 'Battery_Alert' group: 'Battery_Alert'
- alias: 'FrontDoor Bell Camera on Front Door Lock'
id: Doorbell_camera_front_door
mode: single
trigger:
- platform: state
entity_id: lock.front_door
to: 'unlocked'
action:
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'show front doorbell camera'
media_content_type: custom
- delay: '00:20:00'
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'hide front doorbell camera'
media_content_type: custom

35
config/packages/backups.yaml Executable file
View File

@@ -0,0 +1,35 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
#-------------------------------------------
# Added Duplicati to HA - https://github.com/CCOSTAN/Home-AssistantConfig/issues/1498
#-------------------------------------------
automation:
- alias: 'Backup Job Failed Notification'
id: 5b3a4c89-1234-4567-8901-23456789abcf
trigger:
- platform: state
entity_id: sensor.dockerconfigs_backup_error_message
from: '-'
action:
- service: script.notify_engine
data:
who: 'carlo'
value1: 'Backup Job Error!'
value2: "Error: {{ states('sensor.dockerconfigs_backup_error_message') }}"
- alias: 'Backup Size Change Alert'
id: 5b3a4c89-1234-4567-8901-23456789abd0
trigger:
- platform: numeric_state
entity_id: sensor.dockerconfigs_backup_target_size
above: 10000000000 # Alert if backup size is over 10GB
action:
- service: script.notify_engine
data:
who: 'carlo'
value1: 'Backup Size Warning'
value2: >
Backup target size has grown to {{ states('sensor.dockerconfigs_backup_target_size') | float / 1000000000 }} GB.
Please verify backup contents and available storage.

View File

@@ -2,6 +2,7 @@
# @CCOSTAN # @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Support for Blink Cameras (https://amzn.to/3lOYTCv) # Support for Blink Cameras (https://amzn.to/3lOYTCv)
# Added ThinLg HACS integration for Fridge sensors - https://github.com/ollo69/ha-smartthinq-sensors
#------------------------------------------- #-------------------------------------------
############################################################################## ##############################################################################
@@ -17,20 +18,37 @@ automation:
above: 60 above: 60
for: for:
minutes: 20 minutes: 20
- platform: state
entity_id: binary_sensor.refrigerator_door_open
to: 'on'
for:
minutes: 10
- platform: event - platform: event
event_type: event_fridge_still_hot_loop event_type: event_fridge_still_hot_loop
condition: condition:
- condition: numeric_state condition: or
entity_id: sensor.blink_blink1_temperature conditions:
above: 60 - condition: numeric_state
entity_id: sensor.blink_blink1_temperature
above: 60
- condition: state
entity_id: binary_sensor.refrigerator_door_open
state: 'on'
action: action:
- service: script.notify_engine - service: script.notify_engine
data: data:
title: 'Check Fridge' title: 'Check Fridge'
value1: "Please check the fridge, the temperature has been {{ states('sensor.blink_blink1_temperature') }} degrees for at least 20 minutes." value1: >
{% if trigger.platform == 'numeric_state' %}
The Blink camera temperature sensor has detected {{ states('sensor.blink_blink1_temperature') }} degrees for over 20 minutes.
{% elif trigger.platform == 'binary_sensor' and trigger.entity_id == 'binary_sensor.refrigerator_door_open' %}
The fridge door has been open for over 10 minutes.
{% else %}
The fridge is still hot after the previous alert. The fridge temperature is {{ states('sensor.blink_blink1_temperature') }} degrees. {% if is_state('binary_sensor.refrigerator_door_open', 'on') %}The fridge door is currently open.{% endif %}
{% endif %}
who: 'family' who: 'family'
group: 'information' group: 'information'
@@ -38,7 +56,7 @@ automation:
- service: script.speech_engine - service: script.speech_engine
data: data:
value1: "Please check the fridge, the temperature has been {{ states('sensor.blink_blink1_temperature') }} degrees for at least 20 minutes." value1: "Please check the fridge. The fridge temperature is {{ states('sensor.blink_blink1_temperature') }} degrees for over 20 minutes. {% if is_state('binary_sensor.refrigerator_door_open', 'on') %}The fridge door is currently open.{% endif %}"
no_fridge: 1 no_fridge: 1
- delay: 00:30:00 - delay: 00:30:00

View File

@@ -42,14 +42,6 @@ script:
- delay: "00:01:30" - delay: "00:01:30"
- service: media_player.play_media
data:
entity_id: media_player.garage
media_content_id: 'turn off c life 4'
media_content_type: custom
- delay: "00:01:30"
- service: media_player.play_media - service: media_player.play_media
data: data:
entity_id: media_player.garage entity_id: media_player.garage

View File

@@ -0,0 +1,273 @@
######################################################################
## AC related automations
## For more info visit https://www.vcloudinfo.com/click-here
## Contact: @CCOSTAN
######################################################################
input_datetime:
downstairs_last_filter_change:
name: Downstairs Last Filter Change
has_date: true
has_time: true
upstairs_last_filter_change:
name: Upstairs Last Filter Change
has_date: true
has_time: true
# ---------------------------------------------------------------------------
# Binary sensors true when the thermostat reports the compressor is running
# ---------------------------------------------------------------------------
binary_sensor:
- platform: template
sensors:
downstairs_ac_cooling:
friendly_name: "Downstairs AC is Cooling"
value_template: >
{{ state_attr('climate.downstairs', 'hvac_action') == 'cooling' }}
upstairs_ac_cooling:
friendly_name: "Upstairs AC is Cooling"
value_template: >
{{ state_attr('climate.upstairs', 'hvac_action') == 'cooling' }}
sensor:
- platform: template
sensors:
downstairs_ac_cooling_numeric:
friendly_name: "Downstairs AC Cooling Numeric"
value_template: "{{ 1 if is_state('binary_sensor.downstairs_ac_cooling', 'on') else 0 }}"
upstairs_ac_cooling_numeric:
friendly_name: "Upstairs AC Cooling Numeric "
value_template: "{{ 1 if is_state('binary_sensor.upstairs_ac_cooling', 'on') else 0 }}"
- platform: integration
name: Downstairs AC Runtime Raw
source: sensor.downstairs_ac_cooling_numeric
unit_time: h
method: left
round: 2
- platform: integration
name: Upstairs AC Runtime Raw
source: sensor.upstairs_ac_cooling_numeric
unit_time: h
method: left
round: 2
# ---------------------------------------------------------------------------
# Utilitymeters that act like odometers (reset when you swap the filter)
# ---------------------------------------------------------------------------
utility_meter:
downstairs_ac_runtime_since_last_filter_change:
source: sensor.downstairs_ac_runtime_raw
upstairs_ac_runtime_since_last_filter_change:
source: sensor.upstairs_ac_runtime_raw
script:
reset_downstairs_filter:
alias: Reset Downstairs Filter
mode: queued
sequence:
- service: input_datetime.set_datetime
data:
entity_id: input_datetime.downstairs_last_filter_change
datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
- service: utility_meter.reset
target:
entity_id: sensor.downstairs_ac_runtime_since_last_filter_change
reset_upstairs_filter:
alias: Reset Upstairs Filter
mode: queued
sequence:
- service: input_datetime.set_datetime
data:
entity_id: input_datetime.upstairs_last_filter_change
datetime: "{{ now().strftime('%Y-%m-%d %H:%M:%S') }}"
- service: utility_meter.reset
target:
entity_id: sensor.upstairs_ac_runtime_since_last_filter_change
automation:
- alias: Notify Downstairs Filter Change Due
description: Notify when downstairs runtime exceeds threshold since last filter change
trigger:
- platform: numeric_state
entity_id: sensor.downstairs_ac_runtime_since_last_filter_change
above: 800 # hours
action:
- service: script.notify_engine # <-- keep your existing notify helper
data:
title: "Home Maintenance Reminder"
value1: "It's time to change your Downstairs AC filter."
value2: >
Runtime has exceeded 800h. Last changed {{ ((now() - states.input_datetime.downstairs_last_filter_change.last_changed).total_seconds() / 86400) | round(0) }} days ago.
who: "Carlo"
group: "maintenance"
level: "active"
- alias: Notify Upstairs Filter Change Due
description: Notify when upstairs runtime exceeds threshold since last filter change
trigger:
- platform: numeric_state
entity_id: sensor.upstairs_ac_runtime_since_last_filter_change
above: 450 # hours
action:
- service: script.notify_engine
data:
title: "Home Maintenance Reminder"
value1: "It's time to change your Upstairs AC filter."
value2: >
Runtime has exceeded 450h. Last changed {{ ((now() - states.input_datetime.upstairs_last_filter_change.last_changed).total_seconds() / 86400) | round(0) }} days ago.
who: "Carlo"
group: "maintenance"
- alias: 'AC Status off Announcement'
id: 7812fdaf-a3f8-498b-8f07-28e977e528fe
trigger:
- platform: state
entity_id:
- climate.downstairs
- climate.upstairs
from: 'off'
action:
- service: script.speech_engine
data:
NestStatus: "The {{ trigger.entity_id.split('.')[1].split('_')[0]}} {{ trigger.entity_id.split('.')[1].split('_')[1]}} has now been turned on for {{(trigger.to_state.state)}}."
call_window_check: 1
- alias: Prevent Upstairs Nest Below 76
id: 7812fdaf-a3f8-498b-8f07-28e977e528ff
trigger:
- platform: numeric_state
entity_id: climate.upstairs
attribute: temperature
below: 76
action:
- delay: "00:03:00"
- service: climate.set_temperature
data:
entity_id: climate.upstairs
temperature: 77
- alias: Set Downstairs Nest to 76 When both in bed
id: set_downstairs_nest_76_both_in_bed
trigger:
- platform: numeric_state
entity_id: climate.downstairs
attribute: temperature
above: 76
- platform: state
entity_id: group.bed
to: 'on'
condition:
- condition: and
conditions:
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed
state: 'on'
- condition: state
entity_id: binary_sensor.sleepnumber_carlo_stacey_is_in_bed
state: 'on'
- condition: numeric_state
entity_id: climate.downstairs
attribute: temperature
above: 76
- condition: state
entity_id: sun.sun
state: 'below_horizon'
action:
- service: climate.set_temperature
data:
entity_id: climate.downstairs
temperature: 76
- alias: 'Set Downstairs Thermostat to 79 During Daylight'
id: set_downstairs_thermostat_79_daylight
mode: single
trigger:
- platform: state
entity_id: sun.sun
to: 'above_horizon'
- platform: numeric_state
entity_id: climate.downstairs
attribute: temperature
below: 79
condition:
- condition: state
entity_id: sun.sun
state: 'above_horizon'
- condition: template
value_template: "{{ state_attr('climate.downstairs', 'temperature') < 79 }}"
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: climate.set_temperature
data:
entity_id: climate.downstairs
temperature: 80
# Set thermostats to eco mode when everyone is away
- alias: 'Set Thermostats to Eco When Away'
id: 1e2d3c4b-eco-thermostat-away
mode: single
trigger:
- platform: state
entity_id: group.family
to: 'not_home'
condition:
- condition: state
entity_id: group.family
state: 'not_home'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- service: climate.set_preset_mode
data:
entity_id:
- climate.downstairs
- climate.upstairs
preset_mode: 'eco'
# Automation: Set Thermostats Back to Cool Mode
- alias: 'Set Thermostats to Cool When Home'
id: 1e2d3c4b-cool-thermostat-home
mode: single
trigger:
- platform: state
entity_id: group.family
to: 'home'
- platform: state
entity_id: person.justin
to: 'home'
condition:
- condition: or
conditions:
- condition: state
entity_id: group.family
state: 'home'
- condition: state
entity_id: person.justin
state: 'home'
- condition: state
entity_id: input_boolean.guest_mode
state: 'off'
action:
- choose:
- conditions:
- condition: state
entity_id: group.family
state: 'home'
sequence:
- service: climate.set_preset_mode
data:
entity_id: climate.downstairs
preset_mode: 'none'
- conditions:
- condition: state
entity_id: person.justin
state: 'home'
sequence:
- service: climate.set_preset_mode
data:
entity_id: climate.upstairs
preset_mode: 'none'

View File

@@ -1,102 +0,0 @@
#-------------------------------------------
# Conico Cameras Configuration
# Description: Integrates Conico Cameras with Alexa Media Player
# Last Updated: 2023-11-15
#
# Features:
# - Displays garage camera feed on Echo Show devices
# - Displays driveway camera feed when front door opens
# - Triggers based on garage door state and occupancy changes
#
# Hardware:
# - Conico Camera: https://amzn.to/2Kl1eHo
# - Amazon Echo Show devices
#
# Integration: Alexa Media Player
#
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
# Blog Post: https://www.vcloudinfo.com/2019/03/integrating-smart-cameras-with-alexa-echo-shows.html
# Follow me on https://www.vcloudinfo.com/click-here
#-------------------------------------------
automation:
- alias: 'Garage Camera on Alexa Shows'
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
mode: single
trigger:
- platform: state
entity_id:
- cover.large_garage_door
- cover.small_garage_door
from: 'closed'
to: 'open'
- platform: state
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
from: 'off'
to: 'on'
- platform: state
entity_id:
- person.carlo
- person.stacey
- person.paige
- person.justin
to: 'not_home'
from: 'home'
action:
- choose:
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
sequence:
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'show garage camera'
media_content_type: custom
- delay: '00:10:00'
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'hide garage camera'
media_content_type: custom
default:
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'show garage camera'
media_content_type: custom
- delay: '00:20:00'
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'hide garage camera'
media_content_type: custom
- service: script.garage_lights_off
- alias: 'FrontDoor Bell Camera on Front Door Lock'
id: Doorbell_camera_front_door
mode: single
trigger:
- platform: state
entity_id: lock.front_door_lock
to: 'unlocked'
action:
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'show front doorbell camera'
media_content_type: custom
- delay: '00:20:00'
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'hide front doorbell camera'
media_content_type: custom

View File

@@ -0,0 +1,38 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Support for LG Fridges (https://amzn.to/3lOYTCv)
# Added ThinLg HACS integration for Fridge sensors - https://github.com/ollo69/ha-smartthinq-sensors
#-------------------------------------------
automation:
- alias: 'Fridge Door Open'
id: 2346efcd-e8a8-4e86-b5b6-43eBl1nkFr1dge95D00r0pen
mode: single
trigger:
- platform: state
entity_id: binary_sensor.refrigerator_door_open
to: 'on'
for:
minutes: 5
condition:
- condition: state
entity_id: binary_sensor.refrigerator_door_open
state: 'on'
action:
- service: script.notify_engine
data:
title: 'Fridge Door Open'
value1: >
The fridge door has been open for more than 5 minutes. Please check and close the fridge door to avoid temperature issues.
who: 'family'
group: 'information'
- wait_template: "{{ states.group.family.state == 'home' }}"
- service: script.speech_engine
data:
value1: "Attention! The fridge door has been open for more than 5 minutes. Please close the fridge door."
- delay: 00:30:00
- event: event_fridge_door_open

View File

@@ -79,11 +79,53 @@ group:
- cover.large_garage_door - cover.large_garage_door
- cover.small_garage_door - cover.small_garage_door
automation:
######################################################################
## Automation: Auto-open Large Garage Door when someone comes home
######################################################################
- alias: 'Auto Open Large Garage Door On Arrival'
id: 7e2b1c3a-4b1e-4b2a-9c1a-automated_garage_door
mode: single
trigger:
- platform: state
entity_id:
- person.carlo
- person.stacey
- person.justin
from: 'driving'
to: 'home'
condition:
- condition: state
entity_id: cover.large_garage_door
state: 'closed'
- condition: state
entity_id: group.bed
state: 'off'
- condition: state
entity_id: group.family
state: 'home'
action:
- service: cover.open_cover
target:
entity_id: cover.large_garage_door
- service: input_text.set_value
target:
entity_id: input_text.last_person_home
data:
value: "{{ trigger.to_state.entity_id.split('.')[1] }}"
- service: script.notify_engine
data:
who: 'parents'
value1: "Large Garage has been auto-opened for {{ states('input_text.last_person_home') }}."
title: 'Garage Auto-Opened'
group: 'Welcome_Home'
camera_entity: camera.garagecam
###################################################################### ######################################################################
## Send a notification to anyone coming home asking if they want to open the garage door. ## Send a notification to anyone coming home asking if they want to open the garage door.
###################################################################### ######################################################################
automation:
- alias: 'Garage Helper' - alias: 'Garage Helper'
id: 365adc21-5e96-4e78-9e94-089901a29430 id: 365adc21-5e96-4e78-9e94-089901a29430
mode: parallel mode: parallel
@@ -92,7 +134,7 @@ automation:
entity_id: entity_id:
- person.carlo - person.carlo
- person.stacey - person.stacey
from: 'not_home' # from: 'driving'
to: 'home' to: 'home'
condition: condition:
- condition: state - condition: state
@@ -339,3 +381,119 @@ automation:
data: data:
value1: "Check the garage doors. The Small garage is {{ states('cover.small_garage_door')}} and the large garage is {{ states('cover.large_garage_door')}} [Only mention the garage door that is open and remind us to close it for the night]" value1: "Check the garage doors. The Small garage is {{ states('cover.small_garage_door')}} and the large garage is {{ states('cover.large_garage_door')}} [Only mention the garage door that is open and remind us to close it for the night]"
- alias: 'Garage Camera on Alexa Shows'
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
mode: single
trigger:
- platform: state
entity_id:
- cover.large_garage_door
- cover.small_garage_door
from: 'closed'
to: 'open'
- platform: state
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
from: 'off'
to: 'on'
- platform: state
entity_id:
- person.carlo
- person.stacey
- person.paige
- person.justin
to: 'not_home'
from: 'home'
action:
- choose:
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
sequence:
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'show garage camera from home assistant'
media_content_type: custom
- delay: '00:10:00'
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'hide garage camera'
media_content_type: custom
default:
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'show garage camera from home assistant'
media_content_type: custom
- delay: '00:20:00'
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'hide garage camera'
media_content_type: custom
- service: script.garage_lights_off
- alias: 'Garage Camera on Alexa Shows'
id: 4373df2a-77f2-4e19-be7c-46c7b27ca583
mode: single
trigger:
- platform: state
entity_id:
- cover.large_garage_door
- cover.small_garage_door
from: 'closed'
to: 'open'
- platform: state
entity_id: binary_sensor.mcu1_gpio12 #interior Garage Doors
from: 'off'
to: 'on'
- platform: state
entity_id:
- person.carlo
- person.stacey
- person.paige
- person.justin
to: 'not_home'
from: 'home'
action:
- choose:
- conditions: "{{ is_state('binary_sensor.sleepnumber_carlo_stacey_is_in_bed','on') }}"
sequence:
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'show garage camera from home assistant'
media_content_type: custom
- delay: '00:10:00'
- service: media_player.play_media
data:
entity_id: media_player.stacey_bedroom
media_content_id: 'hide garage camera'
media_content_type: custom
default:
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'show garage camera from home assistant'
media_content_type: custom
- delay: '00:20:00'
- service: media_player.play_media
target:
entity_id: media_player.kitchen
data:
media_content_id: 'hide garage camera'
media_content_type: custom
- service: script.garage_lights_off

47
config/packages/glances.yaml Executable file
View File

@@ -0,0 +1,47 @@
#-------------------------------------------
# Setting up Glances Integration for home assistant to track ProxMox stats
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
#
#-------------------------------------------
sensor:
- platform: template
sensors:
proxmox_garage_avg_temp:
friendly_name: "Proxmox Garage Average Temperature"
unit_of_measurement: "°F"
value_template: >-
{{ (
(states('sensor.proxmox1_package_id_0_temperature') | float(0) +
states('sensor.proxmox1_pch_skylake_1_temperature') | float(0) +
states('sensor.proxmox1_core_0_temperature') | float(0) +
states('sensor.proxmox1_core_1_temperature') | float(0) +
states('sensor.proxmox1_core_2_temperature') | float(0) +
states('sensor.proxmox1_core_3_temperature') | float(0) +
states('sensor.proxmox1_acpitz_1_temperature') | float(0) +
states('sensor.proxmox1_acpitz_2_temperature') | float(0) +
states('sensor.proxmox2_package_id_0_temperature') | float(0) +
states('sensor.proxmox2_pch_skylake_1_temperature') | float(0) +
states('sensor.proxmox2_core_0_temperature') | float(0) +
states('sensor.proxmox2_core_1_temperature') | float(0) +
states('sensor.proxmox2_core_2_temperature') | float(0) +
states('sensor.proxmox2_core_3_temperature') | float(0) +
states('sensor.proxmox2_acpitz_1_temperature') | float(0) +
states('sensor.proxmox2_acpitz_2_temperature') | float(0)
) / 16 ) | round(1) }}
automation:
- alias: "Garage Proxmox High Temperature Warning"
id: proxmox-garage-high-temp-warning-automation
trigger:
- platform: numeric_state
entity_id: sensor.proxmox_garage_avg_temp
above: 145 # Adjust threshold as needed
action:
- service: script.notify_engine
data:
title: "🔥 Proxmox Garage Alert!"
value1: "The average temperature of your Proxmox servers is above 145°F!"
who: 'carlo'
group: 'information'

View File

@@ -3,7 +3,6 @@
# @CCOSTAN # @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
#------------------------------------------- #-------------------------------------------
input_select: input_select:
log_level: log_level:
name: Log Level name: Log Level
@@ -34,4 +33,3 @@ automation:
- service: logger.set_level - service: logger.set_level
data: data:
homeassistant.components: "{{ states.input_select.log_level.state }}" homeassistant.components: "{{ states.input_select.log_level.state }}"

24
config/packages/minecraft.yaml Executable file
View File

@@ -0,0 +1,24 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Minecraft related stuff
#-------------------------------------------
automation:
- alias: Someone on the MC server!
id: e7cc50d1-2374-4923-8e0c-2a59ff593cf8
trigger:
- platform: state
entity_id: sensor.minecraft_players_online
action:
- service: script.notify_engine
data:
value1: >
{% if states.sensor.minecraft_players_online.state|int > 0 %}
{{ states.sensor.minecraft_players_online.state }} player(s) connected to Minecraft server
{% else %}
All players disconnected from Minecraft server
{% endif %}
title: "Minecraft Server Status"
who: 'carlo'
group: 'information'

View File

@@ -1,63 +0,0 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# Neato Support for D7 Connected Botvac - control my [Neato Vacuum](http://amzn.to/2kqnnqu) with Home Assistant.
#-------------------------------------------
# homeassistant:
# customize_glob:
# "*.*_sleep_hours":
# unit_of_measurement: hours
# icon: mdi:sleep
#
#
#-------------------------------------------
sensor:
platform: minecraft
name: Bear Stone
server: !secret minecraft
#-------------------------------------------
group:
Minecraft:
entities:
- sensor.bear_stone
##############################################################################
### Automations - Detect when things are not right. Like any Good Watchdog.
##############################################################################
#automation:
#Tweets pushed out to X.
automation:
- alias: Someone on the MC server!
id: e7cc50d1-2374-4923-8e0c-2a59ff593cf8
trigger:
- platform: state
entity_id: sensor.bear_stone
action:
- service: light.turn_on
entity_id: light.justin_go
data:
color_name: >
{% if states.sensor.bear_stone.state|int == 1 %}
gold
{% elif states.sensor.bear_stone.state|int == 2 %}
green
{% elif states.sensor.bear_stone.state|int == 3 %}
blue
{% else %}
red
{% endif %}
- service: >
{% if states.sensor.bear_stone.state|int > 0 %}
light.turn_on
{% else %}
light.turn_off
{% endif %}
entity_id: light.justin_go
- service: light.turn_on
entity_id:
- light.justin_go
data:
flash: short

View File

@@ -15,4 +15,4 @@ automation:
action: action:
- service: switch.toggle - service: switch.toggle
entity_id: switch.office_lamp_switch_socket entity_id: switch.office_lamp_switch

55
config/packages/printer.yaml Executable file
View File

@@ -0,0 +1,55 @@
#-------------------------------------------
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# inspired by https://community.home-assistant.io/t/epson-wf-3540-ink-level-monitoring/21813
#-------------------------------------------
##############################################################################
### Automations - Detect when things are not right. Like any Good Watchdog.
##############################################################################
automation:
- alias: 'Printer Ink Alert'
id: 6ef2a695-0b76-4eb5-b67c-2ff6f74f40b8
initial_state: 'on'
trigger:
- platform: numeric_state
entity_id:
- sensor.canon_ts300_series_black
- sensor.canon_ts300_series_color
below: 15
condition:
condition: time
weekday:
- wed
action:
- service: script.notify_engine
data:
value1: "{{ trigger.to_state.attributes.friendly_name }} is at {{ trigger.to_state.state }} "
who: 'carlo'
apns_id: 'information'
- alias: 'Printer Status Notifications'
id: 6ef2a695-0b76-4eb5-b67c-2ff6f74f40b9
trigger:
- platform: state
entity_id: sensor.canon_ts300_series
from: 'unavailable'
to: 'idle'
- platform: state
entity_id: sensor.canon_ts300_series
to: 'printing'
action:
- service: notify.alexa_media_front_room_flex
data:
message: >
{% if trigger.to_state.state == 'idle' %}
Printer has powered on and is ready
{% else %}
Printer is now printing
{% endif %}
data:
type: announce
#-------------------------------------------

View File

@@ -0,0 +1,36 @@
#-------------------------------------------
# Setting up nightly reboot schedule for Frigate server via Proxmox
# https://www.vcloudinfo.com/click-here
#-------------------------------------------
automation:
- alias: "Nightly Frigate Server Reboot"
id: nightly_frigate_reboot
description: "Reboots the Frigate server every day at 5 AM"
trigger:
- platform: time
at: "05:00:00"
action:
- service: button.press
target:
entity_id: button.qemu_docker2_101_reboot
mode: single
- alias: "Notify Carlo of Proxmox Updates"
id: notify_carlo_proxmox_updates
description: "Sends a notification to Carlo when there are updates available for the Proxmox hosts."
trigger:
- platform: state
entity_id: binary_sensor.node_proxmox02_updates_packages
to: 'on'
- platform: state
entity_id: binary_sensor.node_proxmox1_updates_packages
to: 'on'
action:
- service: script.notify_engine
data:
who: carlo
title: "Proxmox Updates Available"
value1: "There are updates available for the Proxmox hosts. Please review and apply updates as needed."
group: "information"
mode: single

View File

@@ -58,6 +58,18 @@ automation:
data: data:
value1: "Please be aware that the hot water has dropped below 30% availability. Please consider taking a shower at another time. Gallons used today: {{sensor.phyn_daily_water_usage}}" value1: "Please be aware that the hot water has dropped below 30% availability. Please consider taking a shower at another time. Gallons used today: {{sensor.phyn_daily_water_usage}}"
- service: notify.alexa_media_master_bathroom
data:
message: "Please be aware that the hot water has dropped below 30% availability. Please wrap up your shower soon."
data:
type: announce
- service: notify.alexa_media_upstairs
data:
message: "Please be aware that the hot water has dropped below 30% availability. Please wrap up your shower soon."
data:
type: announce
- wait_template: "{{ states('sensor.rheem_wh_available_hot_water')|float > 50 }}" - wait_template: "{{ states('sensor.rheem_wh_available_hot_water')|float > 50 }}"
timeout: '01:00:00' # Adjust timeout as needed timeout: '01:00:00' # Adjust timeout as needed
- service: script.speech_engine - service: script.speech_engine

View File

@@ -0,0 +1,72 @@
# Automation to notify Carlo if internet speeds fall below 400 Mbps
# For more info or questions, visit https://www.vcloudinfo.com/click-here
automation:
- alias: "Notify Carlo if Internet Speed is Slow"
id: notify-carlo-slow-internet-speed
description: "Sends a notification to Carlo's phone if download or upload speed falls below 400 Mbps."
trigger:
- platform: numeric_state
entity_id: sensor.speedtest_download
below: 300
- platform: numeric_state
entity_id: sensor.speedtest_upload
below: 300
condition:
- condition: state
entity_id: group.bed
state: 'off'
- condition: template # Checks to make sure the system hasn't been restarted in the past 10 minutes
value_template: >-
{% set uptime = states('sensor.ha_uptime') | as_datetime %}
{% set now = now() %}
{{ (now - uptime).total_seconds() / 60 >= 10 }}
action:
- service: script.notify_engine
data:
title: "⚠️ Internet Speed Alert"
value1: >-
Download: {{ states('sensor.speedtest_download') }} Mbps,
Upload: {{ states('sensor.speedtest_upload') }} Mbps.
value2: "One or both speeds are below 300 Mbps."
who: "parents"
group: "information"
level: "active"
mode: single
- alias: "Notify Carlo if Internet Speed is Restored"
id: notify-carlo-internet-speed-restored
description: "Sends a notification to Carlo's phone when download and upload speeds are back above 300/300 Mbps."
trigger:
- platform: numeric_state
entity_id: sensor.speedtest_download
above: 300
- platform: numeric_state
entity_id: sensor.speedtest_upload
above: 300
condition:
- condition: numeric_state
entity_id: sensor.speedtest_download
above: 300
- condition: numeric_state
entity_id: sensor.speedtest_upload
above: 300
- condition: template # Checks to make sure the system hasn't been restarted in the past 10 minutes
value_template: >-
{% set uptime = states('sensor.ha_uptime') | as_datetime %}
{% set now = now() %}
{{ (now - uptime).total_seconds() / 60 >= 10 }}
action:
- service: script.notify_engine
data:
title: "✅ Internet Speed Restored"
value1: >-
Download: {{ states('sensor.speedtest_download') }} Mbps,
Upload: {{ states('sensor.speedtest_upload') }} Mbps.
value2: "Internet speeds are back to normal."
who: "parents"
group: "information"
level: "active"
mode: single

View File

@@ -11,16 +11,23 @@ command_line:
unique_id: lines_of_code unique_id: lines_of_code
command: "find /config -name '*.yaml' | xargs cat | wc -l" command: "find /config -name '*.yaml' | xargs cat | wc -l"
scan_interval: 20000 scan_interval: 20000
value_template: "{{ value | int }}"
unit_of_measurement: "count"
- sensor:
name: 'GitHub Open Issues'
unique_id: github_open_issues
command: 'curl -s https://api.github.com/repos/ccostan/home-assistantconfig'
scan_interval: 20000
value_template: '{{ value_json.open_issues }}'
unit_of_measurement: 'count'
- sensor: - sensor:
name: 'GitHub Stats' name: 'GitHub Stargazers'
unique_id: github_stats_command unique_id: github_stargazers
command: 'curl https://api.github.com/repos/ccostan/home-assistantconfig' command: 'curl -s https://api.github.com/repos/ccostan/home-assistantconfig'
scan_interval: 20000 scan_interval: 20000
value_template: '{{ value_json.name }}' value_template: '{{ value_json.stargazers_count }}'
json_attributes: unit_of_measurement: 'count'
- open_issues
- stargazers_count
sensor: sensor:
- platform: history_stats - platform: history_stats
@@ -66,31 +73,56 @@ sensor:
friendly_name: 'Number of Sensors' friendly_name: 'Number of Sensors'
value_template: >- value_template: >-
{{ states.sensor | list | count }} {{ states.sensor | list | count }}
unit_of_measurement: 'count'
icon_template: mdi:counter
automation_count: automation_count:
friendly_name: 'Number of Automations' friendly_name: 'Number of Automations'
value_template: >- value_template: >-
{{ states.automation| list | count }} {{ states.automation | list | count }}
unit_of_measurement: 'count'
icon_template: mdi:robot
script_count: script_count:
friendly_name: 'Number of Scripts' friendly_name: 'Number of Scripts'
value_template: > value_template: >-
{{ states.script | list | count }} {{ states.script | list | count }}
unit_of_measurement: 'count'
icon_template: mdi:script-text
binary_sensor_count: binary_sensor_count:
friendly_name: 'Number of Binary Sensors' friendly_name: 'Number of Binary Sensors'
value_template: >- value_template: >-
{{ states.binary_sensor | list | count }} {{ states.binary_sensor | list | count }}
unit_of_measurement: 'count'
icon_template: mdi:binary-sensor
tracker_count: tracker_count:
friendly_name: 'Number of Devices' friendly_name: 'Number of Devices'
value_template: >- value_template: >-
{{ states.device_tracker| list | count }} {{ states.device_tracker| list | count }}
unit_of_measurement: 'count'
icon_template: mdi:account-group
lights_count: lights_count:
friendly_name: 'Number of Lights' friendly_name: 'Number of Lights'
value_template: > value_template: >
{{ states.light | list | count }} {{ states.light | list | count }}
unit_of_measurement: 'count'
icon_template: mdi:lightbulb
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 %}
unit_of_measurement: 'count'
icon_template: mdi:binary-sensor
protect_count: protect_count:
friendly_name: 'Number of Smoke Detectors' friendly_name: 'Number of Smoke Detectors'
value_template: > value_template: >
@@ -103,9 +135,12 @@ sensor:
{% else %} {% else %}
0 0
{% endif %} {% endif %}
unit_of_measurement: 'count'
icon_template: mdi:smoke-detector
camera_count: camera_count:
friendly_name: 'Number of online Cameras' friendly_name: 'Number of online Cameras'
value_template: > value_template: >
{{ states.camera | list | count }} {{ states.camera | list | count }}
unit_of_measurement: 'count'
icon_template: mdi:camera
############################################################# #############################################################

109
config/packages/superbowl.yaml Executable file
View File

@@ -0,0 +1,109 @@
#-------------------------------------------
# Setting up some fun flash lights if anyone scores in the superbowl. Will need to update the sensors each year though.
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
# https://github.com/CCOSTAN/Home-AssistantConfig/issues/1502#
#-------------------------------------------
automation:
- alias: 'Super Bowl Team Score Change'
id: 5b3a4c89-1234-4567-8901-23456789abcd
mode: single
trigger:
- platform: state
entity_id: sensor.team_tracker_kc
attribute: team_score
- platform: state
entity_id: sensor.team_tracker_phi
attribute: team_score
condition:
- condition: template
value_template: "{{ now().month == 2 }}"
action:
- service: input_boolean.turn_on
target:
entity_id: input_boolean.flash
- service: light.turn_on
target:
entity_id:
- light.outdoor_front_lights
- light.living_room_accents
- light.m1_back_left
- light.m1_back_right
- light.m1_front_left
- light.m1_front_right
- light.main_slider
data:
rgb_color: >
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
[0, 255, 0]
{% else %}
[255, 0, 0]
{% endif %}
brightness: 255
- delay:
minutes: 5
- service: light.turn_on
target:
entity_id:
- light.m1_back_left
- light.m1_back_right
data:
brightness: 255
rgb_color: [255, 255, 255]
- alias: 'Super Bowl Winner Celebration'
id: 5b3a4c89-1234-4567-8901-23456789abce
mode: single
trigger:
- platform: state
entity_id:
- sensor.team_tracker_kc
- sensor.team_tracker_phi
attribute: team_winner
to: 'true'
condition:
- condition: template
value_template: "{{ now().month == 2 }}"
action:
- service: light.turn_on
target:
entity_id:
- light.outdoor_front_lights
- light.living_room_accents
- light.m1_back_left
- light.m1_back_right
- light.m1_front_left
- light.m1_front_right
- light.main_slider
data:
rgb_color: >
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
[0, 255, 0]
{% else %}
[255, 0, 0]
{% endif %}
brightness: 255
effect: 'colorloop'
- delay:
minutes: 3
- service: light.turn_on
target:
entity_id:
- light.outdoor_front_lights
- light.living_room_accents
- light.m1_back_left
- light.m1_back_right
- light.m1_front_left
- light.m1_front_right
- light.main_slider
data:
rgb_color: >
{% if trigger.entity_id == 'sensor.team_tracker_phi' %}
[0, 255, 0]
{% else %}
[255, 0, 0]
{% endif %}
brightness: 255
effect: 'none'

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -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

View File

@@ -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"
@@ -55,8 +55,6 @@ automation:
entity_id: all entity_id: all
data: data:
flash: long flash: long
# - service: switch.turn_off
# entity_id: all
- service: light.turn_off - service: light.turn_off
entity_id: all entity_id: all

View File

@@ -17,6 +17,24 @@ automation:
### https://www.vcloudinfo.com/2020/05/home-assistant-neato-vacuum-automation.html ### https://www.vcloudinfo.com/2020/05/home-assistant-neato-vacuum-automation.html
############################################################################## ##############################################################################
- alias: 'Vacuum Sensor Cleaning Silencer'
id: 6548de52-a4a4-4df2-9d66-9c2c15577a7f
trigger:
- platform: numeric_state
entity_id: sensor.l10s_vacuum_sensor_dirty_left
below: 10
condition:
- condition: state
entity_id: sensor.l10s_vacuum_task_status
state: 'completed'
action:
- service: button.press
target:
entity_id: button.l10s_vacuum_reset_sensor
- alias: 'Help Vacuum' - alias: 'Help Vacuum'
id: 6548de52-a4a4-4df2-9d66-9c2c15577a7e id: 6548de52-a4a4-4df2-9d66-9c2c15577a7e
trigger: trigger:
@@ -30,10 +48,18 @@ automation:
value_template: "{{ states('sensor.l10s_vacuum_error') not in ['no_error', 'unavailable'] }}" value_template: "{{ states('sensor.l10s_vacuum_error') not in ['no_error', 'unavailable'] }}"
action: action:
- service: script.notify_engine
data:
title: 'Help vacuum'
value1: "{{ states('sensor.l10s_vacuum_error') }} - {{states('sensor.l10s_vacuum_current_room')}}"
who: 'family'
ios_category: 'camera'
camera_entity: 'camera.l10s_vacuum_map'
content_type: 'jpeg'
group: 'information'
- wait_template: "{{ is_state('group.bed', 'off') }}" - wait_template: "{{ is_state('group.bed', 'off') }}"
timeout:
seconds: 600
continue_on_timeout: true
- wait_template: "{{ is_state('group.family', 'home') }}" - wait_template: "{{ is_state('group.family', 'home') }}"
- delay: 00:03:00 - delay: 00:03:00
@@ -43,20 +69,9 @@ automation:
- service: script.speech_engine - service: script.speech_engine
data: data:
value1: > value1: >
{% set error_description = state_attr('sensor.l10s_vacuum_error', 'description') %} {{ "Vacuum error: " ~ states('sensor.l10s_vacuum_error') ~ " [ask Residents to help]" }}
{{ "Vacuum is complaining: " ~ error_description ~ " [ask Residents to help]" }}
Currently in {{states('sensor.l10s_vacuum_current_room')}}" Currently in {{states('sensor.l10s_vacuum_current_room')}}"
- service: script.notify_engine
data:
title: 'Help vacuum'
value1: "{{ state_attr('sensor.l10s_vacuum_error', 'description') }} - {{states('sensor.l10s_vacuum_current_room')}}"
who: 'family'
ios_category: 'camera'
camera_entity: 'camera.l10s_vacuum_map'
content_type: 'jpeg'
group: 'information'
- delay: 00:01:00 - delay: 00:01:00
- service: vacuum.locate - service: vacuum.locate
entity_id: vacuum.l10s_vacuum entity_id: vacuum.l10s_vacuum

View File

@@ -10,31 +10,54 @@
# Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig # Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
#------------------------------------------- #-------------------------------------------
#db_url: sqlite:///data/home-assistant_v2.db #db_url: sqlite:///data/home-assistant_v2.db
purge_keep_days: 14 purge_keep_days: 30
include:
entities:
- device_tracker.spaceship_location_tracker
exclude: exclude:
domains: domains:
- device_tracker
- camera - camera
- device_tracker
- event
- feedreader
- image
- media_player
- persistent_notification
- sun
- update
- zone
entity_globs: entity_globs:
- sensor.*uptime* - binary_sensor.*_motion
- sensor.vpn_client_* - binary_sensor.*_motion_*
- binary_sensor.*is_present
# - binary_sensor.*occupancy*
- light.sleepnumber_*
- number.sleepnumber_*
- number.*_effect_speed
- media_player.*echo*
- select.sleepnumber_*
- select.l10s_vacuum_*
- select.*_wiring
- sensor.*_activity
- sensor.*_battery
- sensor.*_battery_state
- sensor.*_bssid
- sensor.*_first_connection* - sensor.*_first_connection*
- sensor.*_last_connection* - sensor.*_last_connection*
- binary_sensor.*_motion - sensor.*_last_update*
- binary_sensor.*is_present - sensor.*_last_boot
- sensor.*_since
- sensor.*uptime*
- sensor.sun_next_*
- sensor.vpn_client_*
- switch.*_do_not_disturb_*
- switch.*_repeat_switch
entities: entities:
- automation.update_garage_get_status - automation.update_garage_get_status
- binary_sensor.camera1_motion_sensor - binary_sensor.bear_stone
- binary_sensor.camera2_motion_sensor
- binary_sensor.camera3_motion_sensor
- binary_sensor.powerwall_charging - binary_sensor.powerwall_charging
- media_player.carlo_s_4th_fire - number.alarm_panel_1_screen_brightness
- media_player.alarm_panel_2
- script.speech_processing
- script.amp_settings - script.amp_settings
- script.speech_processing
- sensor.bear_stone
- sensor.carlo_ap - sensor.carlo_ap
- sensor.carlo_fast - sensor.carlo_fast
- sensor.clock_am_pm - sensor.clock_am_pm
@@ -44,23 +67,27 @@ exclude:
- sensor.clock_time - sensor.clock_time
- sensor.clock_time_2 - sensor.clock_time_2
- sensor.date - sensor.date
- sensor.dockerconfigs_backup_date
- sensor.dockerconfigs_backup_error_message
- sensor.dockerconfigs_backup_status
- sensor.external_ip - sensor.external_ip
- sensor.floorplan_date
- sensor.floorplan_time
- sensor.floorplan_time_2
- sensor.ha_uptime - sensor.ha_uptime
- sensor.large_garage_door_since - sensor.large_garage_door_since
- sensor.small_garage_door_since
- sensor.last_alexa
- sensor.lights_on_count
- sensor.low_battery - sensor.low_battery
- sensor.network - sensor.network
- sensor.network_detail - sensor.network_detail
- sensor.pi_hole_ads_blocked_today - sensor.pi_hole_ads_blocked_today
- sensor.pi_hole_ads_percentage_blocked_today - sensor.pi_hole_ads_percentage_blocked_today
- sensor.pi_hole_dns_queries_today - sensor.pi_hole_dns_queries_today
- sensor.small_garage_door_since
- sensor.large_garage_door_since
- sensor.stacey_iphone11_activity
- sensor.time
- sensor.rachio_watering_time - sensor.rachio_watering_time
- binary_sensor.rheem_wh_running - sensor.stacey_iphone11_activity
- sun.sun - sensor.stacey_iphone11_audio_output
- zone.home - sensor.time
- switch.bear_stone
- switch.alarm_panel_1_screensaver
event_types:
- alexa_smart_home

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -4,7 +4,7 @@
state: off state: off
light.m1_front_right: light.m1_front_right:
state: off state: off
light.slider: light.main_slider:
state: off state: off
light.m1_back_right: light.m1_back_right:
state: on state: on

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -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 %}

View File

@@ -9,7 +9,7 @@ flash_notify:
sequence: sequence:
- service: light.turn_on - service: light.turn_on
entity_id: entity_id:
- light.slider - light.main_slider
- light.office_lamp - light.office_lamp
- light.outdoor_foyer - light.outdoor_foyer
data: data:

View File

@@ -3,11 +3,12 @@
# action: # action:
# service: script.speech_engine # service: script.speech_engine
# data: # data:
# value1:
# call_no_announcement: # call_no_announcement:
# call_dark_outside: # call_dark_outside:
# call_window_check: # call_window_check:
# call_garage_check: # call_garage_check:
# call_responsibilities # call_garbage_day
# call_light_check # call_light_check
# call_inside_weather # call_inside_weather
# call_outside_weather # call_outside_weather
@@ -50,9 +51,8 @@ speech_engine:
# Include the speech message from the "speech/briefing.yaml" template file # Include the speech message from the "speech/briefing.yaml" template file
speech_message: !include ../templates/speech/briefing.yaml speech_message: !include ../templates/speech/briefing.yaml
# Turn off the "input_boolean.home_stats" and "input_boolean.responsibilities" input booleans # Turn off the "input_boolean.home_stats"
- service: input_boolean.turn_off - service: input_boolean.turn_off
data: data:
entity_id: entity_id:
- input_boolean.home_stats - input_boolean.home_stats
- input_boolean.responsibilities

View File

@@ -83,7 +83,7 @@ speech_processing:
voice: JennyNeural voice: JennyNeural
message: >- message: >-
{{ agent.response.speech.plain.speech }} {{ agent.response.speech.plain.speech }}
cache: true cache: false
- event: openai_response - event: openai_response
event_data: event_data:

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -1,18 +1,48 @@
# ## These scripts are run from /home/pi # - This script is used to update the Home Assistant Docker containers
# # - It will pull the latest images, check if the image ID has changed, and restart the container if needed
# #!/bin/bash # - It will also cleanup unused resources after the update
#
# cd /home/hass/.homeassistant # Original Repo: https://github.com/CCOSTAN/Home-AssistantConfig
# source /srv/hass/hass_venv/bin/activate # Follow me on https://www.vcloudinfo.com/click-here
#
# echo "Processing update"
# pip3 install --upgrade homeassistant
#
# hass --script check_config
# exit
#!/bin/bash #!/bin/bash
cd /home/hass/docker_files
docker-compose down # Update system packages
sudo apt-get update && sudo apt-get upgrade -y
# Pull the latest images
docker-compose pull docker-compose pull
docker-compose up -d
# Get list of services from docker-compose.yml
EXISTING_SERVICES=$(docker-compose config --services)
# Get list of running service containers
RUNNING_CONTAINERS=$(docker-compose ps --services)
# Loop through each running service and check if its image has changed
for service in $RUNNING_CONTAINERS; do
if echo "$EXISTING_SERVICES" | grep -qw "$service"; then
# Get the current running image ID (remove sha256: prefix)
CURRENT_IMAGE_ID=$(docker inspect --format='{{.Image}}' "$service" 2>/dev/null | sed 's/^sha256://')
# Get the latest image ID from docker-compose
LATEST_IMAGE_ID=$(docker-compose images -q "$service" 2>/dev/null)
# If the image ID is different, restart the container
if [ "$CURRENT_IMAGE_ID" != "$LATEST_IMAGE_ID" ] && [ -n "$LATEST_IMAGE_ID" ]; then
echo "Updating container: $service"
docker-compose stop "$service"
docker-compose rm -f "$service"
docker-compose up -d "$service"
else
echo "No update needed for: $service"
fi
else
echo "Skipping non-existent service: $service"
fi
done
# Cleanup unused resources
docker container prune -f
docker image prune -f
docker volume prune -f

View File

@@ -1,14 +0,0 @@
## These scripts are run from /home/pi
#!/bin/bash
echo "Setting up Environment"
cd /home/hass/.homeassistant
source /srv/hass/hass_venv/bin/activate
echo "Processing update"
pip3 install --upgrade git+git://github.com/balloob/home-assistant.git@dev
echo "Code Check"
hass --script check_config
exit

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -320,4 +320,4 @@ globals:
- id: swish_gbl - id: swish_gbl
type: int type: int
restore_value: no restore_value: no
initial_value: '0 initial_value: '0'

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -6,7 +6,7 @@
<h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4> <h4 align="center">Be sure to :star: my configuration repo so you can keep up to date on any daily progress!</h4>
<div align="center"> <div align="center">
[![X Follow](https://img.shields.io/twitter/follow/ccostan?color=blue&amp;label=talk&amp;logo=twitter&amp;style=for-the-badge)](https://x.com/ccostan) [![X Follow](https://img.shields.io/static/v1?label=talk&message=3k&color=blue&logo=twitter&style=for-the-badge)](https://x.com/ccostan)
[![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1) [![YouTube Subscribe](https://img.shields.io/youtube/channel/subscribers/UC301G8JJFzY0BZ_0lshpKpQ?label=VIEW&logo=Youtube&logoColor=%23DF5D44&style=for-the-badge)](https://www.youtube.com/vCloudInfo?sub_confirmation=1)
[![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br> [![GitHub Follow](https://img.shields.io/github/stars/CCOSTAN/Home-AssistantConfig?label=sTARS&amp;logo=Github&amp;style=for-the-badge)](https://github.com/CCOSTAN) <br>
[![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION) [![HA Version Badge](https://raw.githubusercontent.com/ccostan/home-assistantconfig/master/ha-version-badge.svg)](https://github.com/CCOSTAN/Home-AssistantConfig/blob/master/config/.HA_VERSION)

View File

@@ -21,7 +21,7 @@
The sun has set. I will turn on the outside lights. The sun has set. I will turn on the outside lights.
{%- endmacro -%} {%- endmacro -%}
{%- macro responsibilities() -%} {%- macro garbage_day() -%}
{% set day_of_week = now().strftime('%a') %} {% set day_of_week = now().strftime('%a') %}
{% if day_of_week in ['Wed', 'Sun'] %} {% if day_of_week in ['Wed', 'Sun'] %}
Today is garbage day. Today is garbage day.
@@ -49,21 +49,21 @@
{{ friendly_name }}: {{ state }} {{ unit }} {{ friendly_name }}: {{ state }} {{ unit }}
{%- elif 'Precip' in friendly_name -%} {%- elif 'Precip' in friendly_name -%}
{{ friendly_name }}: {{ state }} {{ unit }} {{ friendly_name }}: {{ state }} {{ unit }}
{%- elif 'Wind Speed' in friendly_name and state | float > 15 -%} {%- elif 'Wind Speed' in friendly_name and state | float(0) > 15 -%}
{{ friendly_name }}: {{ state }} {{ unit }} {{ friendly_name }}: {{ state }} {{ unit }}
{%- elif 'Cloud Coverage' in friendly_name and state | float > 75 -%} {%- elif 'Cloud Coverage' in friendly_name and state | float(0) > 75 -%}
{{ friendly_name }}: {{ state }} {{ unit }} {{ friendly_name }}: {{ state }} {{ unit }}
{%- elif 'Humidity' in friendly_name and (state | float < 50 or state | float > 85) -%} {%- elif 'Humidity' in friendly_name and (state | float(0) < 50 or state | float(0) > 85) -%}
{{ friendly_name }}: {{ state }} {{ unit }} {{ friendly_name }}: {{ state }} {{ unit }}
{%- elif 'Nearest Storm Distance' in friendly_name and state | float <= 10 -%} {%- elif 'Nearest Storm Distance' in friendly_name and state | float(0) <= 10 -%}
{{ friendly_name }}: {{ state }} {{ unit }} {{ friendly_name }}: {{ state }} {{ unit }}
{%- endif -%} {%- endif -%}
{%- endif %} {%- endif %}
{% endfor -%} {% endfor -%}
{%- if states('sensor.nws_alerts')|int > 0 -%} {%- if states('sensor.nws_alerts') | int(0) > 0 -%}
{%- set alert_description = state_attr('sensor.nws_alerts', 'Alerts') %} {%- set alert_description = state_attr('sensor.nws_alerts', 'Alerts') %}
[Summarize the included weather alert and give overall details on any storms releavant to the residents of the home. Use the Situation Overview Section to best understand what is going on - Be sure to highlight any impacts to Seminole County or Tallahassee] [Summarize the included weather alert and give overall details on any storms relevant to the residents of the home. Use the Situation Overview Section to best understand what is going on - Be sure to highlight any impacts to Seminole County or Tallahassee]
{{ alert_description }} {{ alert_description }}
[END of Weather Alert] [END of Weather Alert]
{%- endif %} {%- endif %}
@@ -75,7 +75,7 @@
{%- endmacro -%} {%- endmacro -%}
{%- macro fridge() -%} {%- macro fridge() -%}
The internal temperature of the refrigerator is currently {{ states('sensor.blink_blink1_temperature') }} degrees. The internal temperature of the refrigerator is currently {{ states('sensor.blink_blink1_temperature') }} degrees. The freezer temperature is {{ states('sensor.refrigerator_freezer_temp') }} degrees and the fridge temperature is {{ states('sensor.refrigerator_fridge_temp') }} degrees. {% if is_state('binary_sensor.refrigerator_door_open', 'on') %}The fridge door is currently open.{% endif %}
{%- endmacro -%} {%- endmacro -%}
{%- macro light_check() -%} {%- macro light_check() -%}
@@ -162,12 +162,25 @@
{%- endmacro -%} {%- endmacro -%}
{%- macro uv() -%} {%- macro uv() -%}
{% if states.sensor.pirateweather_uv_index.state|int(9999)>= 6 and states.sensor.pirateweather_uv_index.state|int(9999)<= 7.9 %} {% if states.sensor.pirateweather_uv_index.state|int(9999)>= 6 %}
Today's UV index is {{ states.sensor.pirateweather_uv_index.state }}. You should wear sunscreen if going outside. Today's UV index is {{ states.sensor.pirateweather_uv_index.state }}.
{% elif states.sensor.pirateweather_uv_index.state|int(9999)>= 8 and states.sensor.pirateweather_uv_index.state|int(9999)<=10.9 %} {%- for entity in states.sensor if 'pirateweather' in entity.entity_id %}
Today's UV index is {{ states.sensor.pirateweather_uv_index.state }}. This is VERY HIGH. Be sure wear sunscreen and re-apply. {%- set state = entity.state %}
{% elif states.sensor.pirateweather_uv_index.state|int(9999)>= 11 %} {%- set unit = entity.attributes.unit_of_measurement if 'unit_of_measurement' in entity.attributes else '' %}
Today's UV index is {{ states.sensor.pirateweather_uv_index.state }}. This is EXTREME. You should be very cautious going outside. {%- set friendly_name = ' '.join(entity.attributes.friendly_name.split(' ')[1:]) %}
{%- if state not in ['0', '0.0', 'none'] and 'UV Index' not in friendly_name %}
{%- if 'Temperature' in friendly_name -%}
{{ friendly_name }}: {{ state }} {{ unit }}
{%- elif 'Minutely' in friendly_name -%}
{{ friendly_name }}: {{ state }} {{ unit }}
{%- elif 'Cloud Coverage' in friendly_name and state | float > 75 -%}
{{ friendly_name }}: {{ state }} {{ unit }}
{%- elif 'Humidity' in friendly_name and (state | float < 50 or state | float > 85) -%}
{{ friendly_name }}: {{ state }} {{ unit }}
{%- endif -%}
{%- endif %}
{% endfor -%}
[Give helpful tip based on the current UV index and weather conditions]
{% endif %} {% endif %}
{%- endmacro -%} {%- endmacro -%}
@@ -208,11 +221,11 @@
{% endmacro %} {% endmacro %}
{% macro inspirational_quote() %} {% macro inspirational_quote() %}
[Include an inspirational quote relevant to the day or situation at the end of the message. "] [Include an inspirational quote relevant to the day or situation at the end of the message"]
{% endmacro %} {% endmacro %}
{% macro fact_of_the_day() %} {% macro fact_of_the_day() %}
[Include a fact about something that happened in the past on this day at the end of the message] [Include a relevant fact about something that happened in the past on this day at the end of the message]
{% endmacro %} {% endmacro %}
{# a macro that removes all newline characters, empty spaces, and returns formatted text and replaces underscores with spaces #} {# a macro that removes all newline characters, empty spaces, and returns formatted text and replaces underscores with spaces #}
@@ -238,23 +251,46 @@
{% set year = current_date.strftime('%Y') %} {% set year = current_date.strftime('%Y') %}
{% set time = current_date.strftime('%I:%M %p') %} {% set time = current_date.strftime('%I:%M %p') %}
Current date time: {{ month }} {{ day }}, {{ year }} {{ time }} Current date time: {{ month }} {{ day }}, {{ year }} {{ time }}
Residents: Location
- Carlo (Dad): {{ states('person.carlo') }} at {{ states('sensor.carlo_place') if states('sensor.carlo_place') != unknown else 'Away' }} Resident: Location
- Stacey (Mom): {{ states('person.stacey')}} at {{ states('sensor.stacey_place') if states('sensor.stacey_place') != unknown else 'Away' }} - Carlo:
- Justin (Son): {{ states('person.justin') }} at {{ states('sensor.justin_place') if states('sensor.justin_place') != unknown else 'Away' }} {%- if states('sensor.carlo_place') != 'unknown' %}
- Paige (Daughter): {{ states('person.paige') }} at {{ states('sensor.paige_place') if states('sensor.paige_place') != unknown else 'Away' }} {{ states('sensor.carlo_place') }}
and our cat Molly: Always home. {% else -%}
Away
{% endif -%}
- Stacey:
{%- if states('sensor.stacey_place') != 'unknown' %}
{{ states('sensor.stacey_place') }}
{% else -%}
Away
{% endif -%}
- Justin:
{%- if states('sensor.justin_place') != 'unknown' %}
{{ states('sensor.justin_place') }}
{% else -%}
Away
{% endif -%}
- Paige:
{%- if states('sensor.paige_place') != 'unknown' %}
{{ states('sensor.paige_place') }}
{% else -%}
Away
{% endif -%}
{% if range(1, 100) | random <= 25 %}
and our cat Molly: Always home.
{% endif %}
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] [For each person, mention their location. If the same location update has already been broadcasted, do not repeat it.]
New Information: New Information:
{% if call_no_announcement != 1 %} {% if call_no_announcement != 1 %}
{% if now().strftime('%H')|int(9999)< 12 and now().strftime('%H')|int(9999)> 6 %} {% if now().strftime('%H')|int(9999)< 12 and now().strftime('%H')|int(9999)> 6 %}
Good morning. Good morning. [if there is only one person home, address them specifically]
{% elif now().strftime('%H')|int(9999)>= 12 and now().strftime('%H')|int(9999)< 17 %} {% elif now().strftime('%H')|int(9999)>= 12 and now().strftime('%H')|int(9999)< 17 %}
Good afternoon. Good afternoon. [if there is only one person home, address them specifically]
{% else %} {% else %}
Good evening. Good evening. [if there is only one person home, address them specifically]
{% endif %} {% endif %}
{% endif %} {% endif %}
@@ -280,7 +316,7 @@
{{ lightning() }} {{ lightning() }}
{% endif %} {% endif %}
{% if (states('sensor.blink_blink1_temperature')|int(0)) > 55 and no_fridge != 1 %} {% if (states('sensor.blink_blink1_temperature')|int(0) > 55 or states('sensor.refrigerator_freezer_temp')|float > 5 or states('sensor.refrigerator_fridge_temp')|float > 50 or is_state('binary_sensor.refrigerator_door_open', 'on')) and no_fridge != 1 %}
{{ fridge() }} {{ fridge() }}
{% endif %} {% endif %}
@@ -296,7 +332,7 @@
{{ dark_outside() }} {{ dark_outside() }}
{% endif %} {% endif %}
{% if call_garage_check == 999 or is_state('sun.sun', '9999') %} {% if call_garage_check == 1 or is_state('sun.sun', 'below_horizon') %}
{{ garage_check() }} {{ garage_check() }}
{% endif %} {% endif %}
@@ -310,8 +346,8 @@
{{ light_check() }} {{ light_check() }}
{% endif %} {% endif %}
{% if call_responsibilities == 1 %} {% if call_garbage_day == 1 %}
{{ responsibilities() }} {{ garbage_day() }}
{% endif %} {% endif %}
{% if now().strftime('%H')|int(0) > 21 %} {% if now().strftime('%H')|int(0) > 21 %}

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
!function(){const e=document.querySelector("body");let a=customElements.get("bubble-card");const t=setInterval((function(){a=customElements.get("bubble-card"),a?(clearInterval(t),e.style.transition="opacity 0.5s",e.style.opacity="1"):e.style.opacity="0"}),0);setTimeout((function(){clearInterval(t),e.style.transition="opacity 0.5s",e.style.opacity="1"}),1500)}(),console.info("%c Bubble Card %c Pop-up fix","background-color: #555;color: #fff;padding: 3px 2px 3px 3px;border-radius: 14px 0 0 14px;font-family: DejaVu Sans,Verdana,Geneva,sans-serif;text-shadow: 0 1px 0 rgba(1, 1, 1, 0.3)","background-color: #506eac;color: #fff;padding: 3px 3px 3px 2px;border-radius: 0 14px 14px 0;font-family: DejaVu Sans,Verdana,Geneva,sans-serif;text-shadow: 0 1px 0 rgba(1, 1, 1, 0.3)");

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More