Skip to content

Commit

Permalink
Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmatte committed Aug 24, 2023
1 parent 023e021 commit 3c88b24
Show file tree
Hide file tree
Showing 9 changed files with 357 additions and 390 deletions.
2 changes: 1 addition & 1 deletion .HA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2023.5.2
2023.8.4
383 changes: 156 additions & 227 deletions .storage/lovelace

Large diffs are not rendered by default.

83 changes: 67 additions & 16 deletions automations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -701,14 +701,6 @@
target:
entity_id: switch.closet
mode: restart
- id: '1649163877698'
alias: 'Cat: pill ✔️'
description: ''
use_blueprint:
path: ericmatte/cat_pill.yaml
input:
evening_time: '19:30:00'
morning_time: 07:30:00
- id: '1650826951281'
alias: 'Bathroom: Sync with walk-in ✔️'
description: ''
Expand All @@ -731,6 +723,14 @@
value_template: '{{ trigger.to_state.context.parent_id == none }}'
- condition: template
value_template: '{{ trigger.to_state.context.user_id == none }}'
- condition: or
conditions:
- condition: state
entity_id: light.living_room
state: 'on'
- condition: state
entity_id: light.living_room
state: 'off'
action:
- service: light.turn_{{ trigger.to_state.state }}
target:
Expand Down Expand Up @@ -889,7 +889,7 @@
entity_id: person.eric
state: home
- condition: time
before: '18:00:00'
before: '13:00:00'
action:
- choose:
- conditions:
Expand Down Expand Up @@ -924,10 +924,10 @@
trigger:
- platform: time
at: 07:00:00
id: High
id: morning
- platform: time
at: '23:30:00'
id: Low
id: night
condition:
- condition: not
conditions:
Expand All @@ -938,20 +938,22 @@
- choose:
- conditions:
- condition: trigger
id: High
id: morning
sequence:
- service: climate.set_temperature
data:
temperature: 22
hvac_mode: cool
target:
entity_id: climate.heat_pump
- conditions:
- condition: trigger
id: Low
id: night
sequence:
- service: climate.set_temperature
data:
temperature: 20
temperature: 25
hvac_mode: cool
target:
entity_id: climate.heat_pump
mode: single
Expand Down Expand Up @@ -1084,12 +1086,61 @@
- platform: state
entity_id:
- media_player.kitchen_speaker
to: playing
id: speaker
to: 'off'
- platform: state
entity_id:
- media_player.kitchen_speaker
to: 'on'
- platform: state
entity_id:
- media_player.kitchen_speaker
to: idle
- platform: state
entity_id:
- media_player.kitchen_speaker
to: standby
condition: []
action:
- service: media_player.volume_set
data:
volume_level: 0.4
volume_level: 0.35
target:
entity_id: media_player.kitchen_speaker
mode: single
- id: '1689213834930'
alias: Guest mode ✔️
description: ''
trigger:
- platform: state
entity_id:
- input_boolean.guest_mode
condition: []
action:
- service: automation.turn_{{ "off" if states('input_boolean.guest_mode') == "on"
else "on" }}
target:
entity_id:
- automation.bathroom_motion
- automation.bathroom_sync_cabinets_with_hall_kitchen_lights
- automation.small_bathroom_sync_with_walk_in
- automation.bedroom_sync_climate
- automation.bedroom_reverse_sync_under_bed_with_ceiling_light
- automation.closet_motion
- automation.dining_table_sync_with_kitchen_island
- automation.entrance_button_3_turn_off_all
- automation.entrance_motion
- automation.entrance_toggle_lights_with_door_sensor
- automation.everything_turn_off_when_putting_my_phone_on_the_charger_at_night
- automation.heat_pump
- automation.office_close_curtain_while_in_meeting
- automation.turn_on_entrance_lights_when_coming_home
- automation.office_sync_curtains_for_gaming
- automation.office_wardrobe_light_from_sensor
- automation.office_turn_on_desktop_while_arriving
- automation.plants_wardrobe_light_from_sensor
- automation.new_automation_2
- automation.theatre_turn_on_when_tv_is_on
- automation.living_room_user_toggles_rgb_lights
- automation.toggle_bedroom_light
mode: single
38 changes: 18 additions & 20 deletions configuration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,12 @@ device_tracker:
hosts:
eric_ping: 192.168.0.100
caro_ping: 192.168.0.101
- platform: bluetooth_tracker
interval_seconds: 8
consider_home: 300
new_device_defaults:
track_new_devices: false

# ifttt:
# key: !secret ifttt_key
# As of 2023.8, it is now unsupported: Requirements for bluetooth_tracker not found: ['PyBluez==0.22'].
# - platform: bluetooth_tracker
# interval_seconds: 8
# consider_home: 300
# new_device_defaults:
# track_new_devices: false

notify:
- name: html5
Expand All @@ -77,8 +75,6 @@ notify:

default_config:

discovery:

history:

logbook:
Expand Down Expand Up @@ -130,16 +126,18 @@ sensor:
arg: /home
- type: disk_free
arg: /
- platform: command_line
name: CPU temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
value_template: "{{ value | multiply(0.001) | round(1) }}"
- platform: command_line
name: Database filesize
command: "du -m /config/home-assistant_v2.db | cut -f1"
unit_of_measurement: "MB"
value_template: "{{ value | int - 1 }}"

command_line:
- sensor:
name: CPU temperature
command: "cat /sys/class/thermal/thermal_zone0/temp"
unit_of_measurement: "°C"
value_template: "{{ value | multiply(0.001) | round(1) }}"
- sensor:
name: Database filesize
command: "du -m /config/home-assistant_v2.db | cut -f1"
unit_of_measurement: "MB"
value_template: "{{ value | int - 1 }}"

switch:
- platform: flux
Expand Down
98 changes: 53 additions & 45 deletions scenes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -438,15 +438,15 @@
light.kitchen_island:
supported_color_modes:
- brightness
color_mode: brightness
brightness: 2
device_id: '7'
zone_id: '5'
friendly_name: Kitchen island
supported_features: 32
assumed_state: false
state: 'on'
state: 'off'
light.dining_table:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
Expand All @@ -469,65 +469,65 @@
assumed_state: false
state: 'off'
light.left_theatre:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
- color_temp
- xy
mode: normal
dynamics: none
friendly_name: Left theatre
supported_features: 40
assumed_state: false
color_mode: xy
brightness: 255
brightness: 153
hs_color:
- 210.417
- 56.471
- 278.4
- 58.824
rgb_color:
- 111
- 182
- 201
- 105
- 255
xy_color:
- 0.191
- 0.229
- 0.305
- 0.162
mode: normal
dynamics: none
friendly_name: Left theatre
supported_features: 40
assumed_state: false
state: 'on'
light.right_theatre:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
- color_temp
- xy
mode: normal
dynamics: none
friendly_name: Right theatre
supported_features: 40
assumed_state: false
color_mode: xy
brightness: 255
brightness: 153
hs_color:
- 164.69
- 56.863
- 20.11
- 71.373
rgb_color:
- 110
- 255
- 218
- 134
- 73
xy_color:
- 0.197
- 0.397
- 0.577
- 0.359
mode: normal
dynamics: none
friendly_name: Right theatre
supported_features: 40
assumed_state: false
state: 'on'
light.metal_lamp:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
- color_temp
- xy
mode: normal
dynamics: none
icon: mdi:light-flood-up
friendly_name: Metal lamp
supported_features: 40
assumed_state: false
color_mode: xy
brightness: 255
hs_color:
Expand All @@ -540,31 +540,39 @@
xy_color:
- 0.434
- 0.5017
mode: normal
dynamics: none
icon: mdi:light-flood-up
friendly_name: Metal lamp
supported_features: 40
assumed_state: false
state: 'on'
light.wood_lamp:
min_color_temp_kelvin: 2000
max_color_temp_kelvin: 6535
min_mireds: 153
max_mireds: 500
supported_color_modes:
- color_temp
- xy
mode: normal
dynamics: none
icon: mdi:floor-lamp-torchiere-variant
friendly_name: Wood lamp
supported_features: 40
assumed_state: false
color_mode: xy
brightness: 255
hs_color:
- 12.289
- 65.098
- 350.66
- 83.137
rgb_color:
- 255
- 123
- 89
- 43
- 76
xy_color:
- 0.575
- 0.338
- 0.6492
- 0.2878
mode: normal
dynamics: none
icon: mdi:floor-lamp-torchiere-variant
friendly_name: Wood lamp
supported_features: 40
assumed_state: false
state: 'on'
icon: mdi:television
metadata: {}
Expand Down
Binary file modified www/floorplan/floorplan-360.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified www/floorplan/floorplan-90.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 3c88b24

Please sign in to comment.