Skip to content

Commit

Permalink
Merge branch 'master' into stepped-dimming
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegordon authored Feb 9, 2024
2 parents e8ecf2a + c216299 commit 631ab9a
Show file tree
Hide file tree
Showing 286 changed files with 13,524 additions and 6,884 deletions.
1 change: 1 addition & 0 deletions .remarkignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
www/lovelace-auto-entities/
custom_components/hwam_stove/
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,10 @@ My Home-Assistant configuration.
An amalgamation of various examples and sources around the internet, with my own bodging holding it together.

Deployed through the use of docker-compose and the service description at https://github.com/kylegordon/ha-stack


### HWAM Stove Notes

Basic REST and template sensors can be used, such as those described at https://github.com/peterczarlarsen-ha/hwam/blob/main/configure.yaml

In this instance, the hwam_stove custom component is imported from https://github.com/mvn23/hwam_stove
18 changes: 0 additions & 18 deletions automation/guest_bedroom_touch_toggle.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions automation/living_room_sofa_dim.yaml

This file was deleted.

14 changes: 0 additions & 14 deletions automation/low_battery.yaml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
blueprint:
name: Better Thermostat Away mode
description: Set BT Thermostats to Away mode if house is unoccupied.
domain: automation
# source_url: https://github.com/KartoffelToby/better_thermostat/blob/master/blueprints/away_mode.yaml
input:
occupancy_sensor:
name: Occupancy
selector:
entity:
domain: binary_sensor

thermostat_target:
name: Thermostats
selector:
target:
device:
integration: better_thermostat
entity:
integration: better_thermostat
domain: climate

away_temp:
name: Away Temperature
description: The target temperature when away
default: 15
selector:
number:
min: 5
max: 35
unit_of_measurement: °C

mode: queued
max_exceeded: silent

trigger:
- platform: state
entity_id: !input occupancy_sensor
from: "on"
to: "off"
for:
minutes: 5
- platform: state
entity_id: !input occupancy_sensor
from: "off"
to: "on"
condition: []
action:
- if:
- condition: state
entity_id: !input occupancy_sensor
state: "off"
then:
- service: better_thermostat.set_temp_target_temperature
data:
temperature: !input away_temp
target: !input thermostat_target
else:
- service: better_thermostat.restore_saved_target_temperature
data: {}
target: !input thermostat_target
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
blueprint:
name: Better Thermostat Night mode
description: Set BT Thermostats to night mode if Schedule event is active.
domain: automation
source_url: https://github.com/KartoffelToby/better_thermostat/blob/master/blueprints/night_mode.yaml # yamllint disable-line rule:line-length
input:
night_times_schedule:
name: Schedule helper
selector:
entity:
domain: schedule

thermostat_target:
name: Thermostats
selector:
target:
device:
integration: better_thermostat
entity:
integration: better_thermostat
domain: climate

night_temp:
name: Night Temperature
description: The target temperature at night
default: 17
selector:
number:
min: 5
max: 35
unit_of_measurement: °C

mode: queued
max_exceeded: silent

trigger:
- platform: state
entity_id: !input night_times_schedule
from: "on"
to: "off"
- platform: state
entity_id: !input night_times_schedule
from: "off"
to: "on"
condition: []
action:
- if:
- condition: state
entity_id: !input night_times_schedule
state: "on"
then:
- service: better_thermostat.set_temp_target_temperature
data:
temperature: !input night_temp
target: !input thermostat_target
else:
- service: better_thermostat.restore_saved_target_temperature
data: {}
target: !input thermostat_target
8 changes: 5 additions & 3 deletions climate.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
- platform: generic_thermostat
name: House
unique_id: rest_of_house_thermostat
name: Rest of House Thermostat
heater: input_boolean.call_for_rad_heat
target_sensor: sensor.house_average_temperature
target_sensor: sensor.rest_of_house_average_temperature
min_temp: 10
max_temp: 25
away_temp: 15
cold_tolerance: 0.2
hot_tolerance: 0.2

- platform: generic_thermostat
unique_id: hot_water_thermostat
name: Hot Water
heater: switch.boiler_valve_controls_relay_1
target_sensor: sensor.hot_tank_temperature
max_temp: 80
away_temp: 20
cold_tolerance: 10
cold_tolerance: 5
4 changes: 3 additions & 1 deletion configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ homeassistant:
icon: mdi:water-percent
sensor.house_average_humidity:
icon: mdi:water-percent
sensor.house_average_temperature:
sensor.rest_of_house_average_temperature:
icon: mdi:thermometer
sensor.next_bin:
icon: mdi:delete-empty
Expand Down Expand Up @@ -241,6 +241,8 @@ input_select: !include_dir_named input_select
input_boolean: !include_dir_named input_boolean
script: !include_dir_merge_named scripts/

hwam_stove: !include hwam_stove.yaml

utility_meter:
quarter_hourly_energy:
source: sensor.energy_spent
Expand Down
1 change: 1 addition & 0 deletions custom_components/alexa_media/.translations
114 changes: 0 additions & 114 deletions custom_components/alexa_media/.translations/de.json

This file was deleted.

Loading

0 comments on commit 631ab9a

Please sign in to comment.