diff --git a/.gitignore b/.gitignore index 9d2f58c..9a443c7 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,7 @@ /hacs /image /node-red +/files # ignore any of these files no matter where they are using double * @@ -61,5 +62,3 @@ **production_auth.json **.log* **alexa_auth -weather_briefing_full.txt -yesterday_rain_total.txt diff --git a/automations.yaml b/automations.yaml index e7f8106..241b7a6 100644 --- a/automations.yaml +++ b/automations.yaml @@ -190,7 +190,10 @@ context: {} condition: [] action: - - service: script.goodnight + - service: button.press + data: {} + target: + entity_id: button.goodnight mode: single - id: '1641255482975' alias: Give Me Darkness diff --git a/packages/custom_weather.yaml b/packages/custom_weather.yaml index dee9209..f506106 100644 --- a/packages/custom_weather.yaml +++ b/packages/custom_weather.yaml @@ -98,7 +98,7 @@ sensor: {% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %} {{ forecast.temperature }} overnight_low: >- - {% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %} + {% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %} {{ forecast.templow }} wind_bearing: >- {% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[0] %} @@ -241,7 +241,7 @@ sensor: {% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %} {{ forecast.temperature }} overnight_low: >- - {% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[2] %} + {% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %} {{ forecast.templow }} wind_bearing: >- {% set forecast = state_attr('weather.iron_nerd_weather_station','forecast')[1] %} diff --git a/scripts.yaml b/scripts.yaml index 0c9eb3a..7b96938 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -140,48 +140,6 @@ stop_spotify: source: '!com.spotify.tv.android' mode: single icon: mdi:spotify -goodnight: - alias: Goodnight - sequence: - - service: switch.turn_on - data: {} - target: - entity_id: - - switch.adaptive_lighting_sleep_mode_upstairs_hallway - - switch.adaptive_lighting_sleep_mode_upstairs_bathroom - - service: light.turn_off - target: - area_id: - - basement_studio - - master_bedroom - - kallen_bedroom - - furnace_room - - mud_room - - nursery - - living_room - - dining_room - - upstairs_hallway - - downstairs_bathroom - entity_id: - - light.upstairs_bathroom_right - - light.upstairs_bathroom_wall - data: {} - - service: switch.turn_off - target: - area_id: - - basement_studio - data: {} - - service: switch.turn_on - target: - entity_id: - - switch.basement_echo_dot_do_not_disturb_switch - - switch.living_room_echo_dot_do_not_disturb_switch - - switch.master_bedroom_echo_dot_do_not_disturb_switch - data: {} - - service: script.kallen_desktop_shutdown - data: {} - mode: single - icon: mdi:weather-night alexa_tts_test: alias: Alexa TTS Test sequence: @@ -395,55 +353,6 @@ going_upstairs: - light.upstairs_bathroom_lights mode: single icon: hue:room-stairs -good_morning: - alias: Good Morning - sequence: - - service: switch.turn_off - data: {} - target: - entity_id: - - switch.kallen_fan_socket_1 - - switch.master_bedroom_fan_socket_1 - - switch.basement_echo_dot_do_not_disturb_switch - - switch.living_room_echo_dot_do_not_disturb_switch - - switch.master_bedroom_echo_dot_do_not_disturb_switch - - delay: - hours: 0 - minutes: 0 - seconds: 1 - milliseconds: 0 - - service: media_player.play_media - data: - media_content_id: Alexa.Date.Play - media_content_type: sequence - target: - entity_id: media_player.living_room_echo_dot - - service: media_player.play_media - data: - media_content_id: Alexa.Weather.Play - media_content_type: sequence - target: - entity_id: media_player.living_room_echo_dot - - service: media_player.play_media - data: - media_content_id: Alexa.Traffic.Play - media_content_type: sequence - target: - entity_id: media_player.living_room_echo_dot - - service: media_player.play_media - data: - media_content_id: Alexa.Calendar.PlayToday - media_content_type: sequence - target: - entity_id: media_player.living_room_echo_dot - - service: media_player.play_media - data: - media_content_id: Alexa.Calendar.PlayTomorrow - media_content_type: sequence - target: - entity_id: media_player.living_room_echo_dot - mode: single - icon: mdi:weather-sunset-up basement_on: alias: Basement On sequence: