This commit is contained in:
2021-10-10 19:02:34 +03:00
parent 4245f8d2d9
commit 67a1fd9853
87 changed files with 1995 additions and 1226 deletions
@@ -7,7 +7,6 @@ input_number:
radiators_temperature:
name: Radiators target temperature
unit_of_measurement: "°C"
mode: box
min: 22
max: 27
step: 0.5
@@ -31,7 +30,7 @@ script:
entity_id: input_boolean.heating_enabled
state: "on"
- condition: state
entity_id: binary_sensor.georgi_home
entity_id: binary_sensor.someone_home
state: "on"
- service: climate.turn_on
data_template:
@@ -66,7 +65,7 @@ script:
entity_id: input_boolean.heating_enabled
state: "on"
- condition: state
entity_id: binary_sensor.georgi_home
entity_id: binary_sensor.someone_home
state: "on"
- service: script.maybe_turn_radiator_on
data:
@@ -38,6 +38,22 @@ script:
entity_id: scene.bedroom_ambient_pink
scene:
- name: Bedroom Neon
icon: "mdi:weather-night"
entities:
light.master_bedroom_main:
state: 'on'
xy_color: [0.66, 0.28]
brightness: 254
light.bedside:
state: "on"
rgb_color: [0, 255, 190]
brightness: 230
light.bed_led:
state: "on"
xy_color: [0.66, 0.28]
brightness: 254
- name: Bedroom Ambient Neon
icon: "mdi:weather-night"
entities:
@@ -50,6 +66,22 @@ scene:
xy_color: [0.66, 0.28]
brightness: 254
- name: Bedroom Pink
icon: "mdi:weather-night"
entities:
light.master_bedroom_main:
state: "on"
rgb_color: [255, 36, 145]
brightness: 114
light.bedside:
state: "on"
rgb_color: [255, 36, 145]
brightness: 230
light.bed_led:
state: "on"
xy_color: [0.66, 0.28]
brightness: 254
- name: Bedroom Ambient Pink
icon: "mdi:weather-night"
entities:
@@ -6,7 +6,7 @@ automation:
to: "on"
condition:
condition: state
entity_id: binary_sensor.georgi_home
entity_id: binary_sensor.someone_home
state: "on"
action:
- choose:
@@ -6,7 +6,7 @@ automation:
to: "on"
condition:
condition: state
entity_id: binary_sensor.georgi_home
entity_id: binary_sensor.someone_home
state: "on"
action:
- choose:
@@ -6,7 +6,7 @@ automation:
offset: "-00:30:00"
condition:
- condition: state
entity_id: binary_sensor.georgi_home
entity_id: binary_sensor.someone_home
state: "on"
action:
- service: light.turn_on
@@ -255,7 +255,7 @@ homeassistant:
icon: mdi:ceiling-light
light.living_room_main:
icon: bha:ceiling-lamp-plafond
icon: bha:ceiling-spot-lamp
light.pc:
friendly_name: PC
@@ -273,23 +273,23 @@ homeassistant:
light.master_bedroom_main:
friendly_name: Bedroom main
icon: bha:ceiling-lamp-plafond
icon: bha:ceiling-spot-lamp
light.bedside:
icon: mdi:desk-lamp
# Kitchen
light.kitchen_main:
icon: bha:ceiling-lamp-plafond
icon: bha:ceiling-spot-lamp
light.kitchen_secondary:
icon: bha:ceiling-lamp-plafond
icon: bha:ceiling-spot-lamp
# Hallway
light.hallway:
icon: mdi:lightbulb-group
light.hallway_entrance:
icon: bha:ceiling-lamp-plafond
icon: bha:ceiling-spot-lamp
light.hallway_main:
icon: bha:ceiling-lamp-plafond
icon: bha:ceiling-spot-lamp
+24 -11
View File
@@ -26,40 +26,52 @@ homekit:
filter:
include_entities:
# Living Room
- light.living_room
- light.living_room_main
- light.living_room_ambient
- light.pc
- binary_sensor.living_room_right_window
- sensor.multisensor_6_temperature
- sensor.multisensor_6_relative_humidity
- camera.mercury_amcrest_1
- climate.living_room_radiator_mode
- climate.toshiba_ac
- switch.desk_outlet
- switch.titanium
- sensor.living_room_radiator_temperature
- cover.living_room
- media_player.living_room
- media_player.living_room_tv
- media_player.nvidia_shield
- scene.living_room_ambient_neon
- sensor.living_room_radiator_temperature
- sensor.multisensor_6_relative_humidity
- sensor.multisensor_6_temperature
- switch.desk_outlet
# Bedroom
- light.master_bedroom
- light.master_bedroom_main
- light.bedside
- light.bed_led
- sensor.bedroom_weather_temperature
- sensor.bedroom_weather_humidity
- fan.philips_airpurifier
- sensor.purifier_air_quality
- sensor.purifier_allergens
- binary_sensor.bedroom_door
- binary_sensor.bedroom_left_window
- binary_sensor.bedroom_right_window
- camera.bedroom_hd
- climate.bedroom_radiator_mode
- fan.philips_airpurifier
- media_player.master_bedroom
- sensor.bedroom_weather_humidity
- sensor.bedroom_weather_temperature
- sensor.purifier_air_quality
- sensor.purifier_allergens
# Kitchen
- light.kitchen
- light.kitchen_main
- light.kitchen_secondary
- climate.kitchen_radiator_mode
- binary_sensor.kitchen_motion_occupancy
- binary_sensor.kitchen_window
- sensor.kitchen_weather_temperature
- input_number.brita_remaining_liters
- script.brita_pour_water
- sensor.kitchen_weather_humidity
- sensor.kitchen_weather_temperature
- vacuum.vacuum
# Bathroom
@@ -67,6 +79,7 @@ homekit:
- sensor.bathroom_weather_humidity
# Hallway
- light.hallway
- light.hallway_entrance
- light.hallway_main
- group.hallway_motion
-7
View File
@@ -84,13 +84,6 @@ binary_sensor:
device_class: motion
value_template: "{{ is_state('sensor.multisensor_6_burglar', '8') }}"
group:
hallway_motion:
name: Hallway Motion
entities:
- binary_sensor.hallway_motion_occupancy
- binary_sensor.trisensor_motion
sensor:
- platform: history_stats
name: Quarantined percent
+1 -1
View File
@@ -56,7 +56,7 @@ script:
{% if (is_state('media_player.master_bedroom', 'playing')
and is_state('binary_sensor.sonos_recoverable', 'off'))
or is_state('input_boolean.speech_notifications', 'off')
or is_state('input_boolean.georgi_home', 'off') %}
or is_state('input_boolean.someone_home', 'off') %}
notify.telegram
{% else %}
{% if is_state('media_player.master_bedroom', 'playing')