Lots of little changes..

This commit is contained in:
CCOSTAN 2024-08-05 17:03:43 +00:00
parent d26d74ffa4
commit ef1d25e9ee
12 changed files with 128 additions and 97 deletions

View File

@ -1 +1 @@
2024.8.0.dev202407250220
2024.9.0.dev202408050222

View File

@ -54,11 +54,4 @@
- service: light.turn_on
entity_id:
- light.living_room_accents
- wait_template: >-
{{ is_state('group.garage_doors', 'closed') }}
- wait_template: >-
{{ is_state('group.entry_points', 'off') }}
- service: script.speech_engine
data:
call_garage_check: 1
call_window_check: 1

View File

@ -99,13 +99,6 @@ recorder: !include recorder.yaml
# config_path: /srv/hass/hass_venv/lib/python3.4/site-packages/libopenzwave-0.3.1-py3.4-linux-armv7l.egg/config
tts:
- platform: amazon_polly
aws_access_key_id: !secret aws_access_key_ID
aws_secret_access_key: !secret aws_secret_access_key
region_name: 'us-east-1'
text_type: ssml
voice: Joanna
cache: True
homekit: !include homekit.yaml
group: !include_dir_merge_named group

View File

@ -10,7 +10,7 @@ yahoofinance:
hours: 4
symbols:
- TSLA
- APPL
- AAPL
- AMZN
- MSFT

View File

@ -13,7 +13,7 @@
automation:
##############################################################################
### Automations - Help Neato!
### Automations - Help Vacuum!
### https://www.vcloudinfo.com/2020/05/home-assistant-neato-vacuum-automation.html
##############################################################################
@ -22,18 +22,20 @@ automation:
trigger:
- platform: state
entity_id: sensor.l10s_vacuum_error
from: 'No error'
- platform: event
event_type: event_did_someone_help_vacuum_loop
condition:
- condition: template
value_template: "{{ states('sensor.l10s_vacuum_error') != 'No error' }}"
- condition: template
value_template: "{{ states('sensor.l10s_vacuum_error') not in ['no_error', 'unavailable'] }}"
action:
- wait_template: "{{ states.group.family.state == 'home' }}"
- wait_template: "{{ is_state('group.bed', 'off') }}"
- delay: 00:05:00
timeout:
seconds: 600
continue_on_timeout: true
- wait_template: "{{ is_state('group.family', 'home') }}"
- delay: 00:03:00
- service: vacuum.locate
entity_id: vacuum.l10s_vacuum
@ -43,11 +45,12 @@ automation:
value1: >
{% set error_description = state_attr('sensor.l10s_vacuum_error', 'description') %}
{{ "Vacuum is complaining: " ~ error_description ~ " [ask Residents to help]" }}
Currently in {{states('sensor.l10s_vacuum_current_room')}}"
- service: script.notify_engine
data:
title: 'Help vacuum'
value1: "{{ state_attr('sensor.l10s_vacuum_error', 'description') }}"
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'

View File

@ -0,0 +1,48 @@
#-------------------------------------------
# Pirate Weather Forecast Sensors
# @CCOSTAN
# Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig
automation:
- alias: "Update Daily Weather Forecasts"
id: a8717b62-da37-4811-9f7c-96d178a7bfda_daily
trigger:
- platform: time_pattern
minutes: "/30"
action:
- service: weather.get_forecasts
data:
type: daily
target:
entity_id: weather.pirateweather
response_variable: daily
- alias: "Update Hourly Weather Forecasts"
id: a8717b62-da37-4811-9f7c-96d178a7bfda_hourly
trigger:
- platform: time_pattern
minutes: "/30"
action:
- service: weather.get_forecasts
data:
type: hourly
target:
entity_id: weather.pirateweather
response_variable: hourly
sensor:
- platform: template
sensors:
pirateweather_daily:
friendly_name: "Pirate Weather Daily"
unique_id: pirateweather_daily
value_template: "{{ daily['weather.pirateweather'].forecast[0].condition }}"
attribute_templates:
forecast: "{{ daily['weather.pirateweather'].forecast }}"
pirateweather_hourly:
friendly_name: "Pirate Weather Hourly"
unique_id: pirateweather_hourly
value_template: "{{ hourly['weather.pirateweather'].forecast[0].condition }}"
attribute_templates:
forecast: "{{ hourly['weather.pirateweather'].forecast[:24] }}"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long