Updates
This commit is contained in:
parent
3b5df0ad86
commit
9db4448fa4
@ -3,6 +3,8 @@
|
|||||||
- type: 'custom:button-card'
|
- type: 'custom:button-card'
|
||||||
template: card_title
|
template: card_title
|
||||||
name: Day/Night
|
name: Day/Night
|
||||||
|
- type: custom:button-card
|
||||||
|
template: custom_card_httpedo13_sun
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
cards:
|
cards:
|
||||||
- type: "custom:button-card"
|
- type: "custom:button-card"
|
||||||
|
31
lovelace/lights/adaptive.yaml
Normal file
31
lovelace/lights/adaptive.yaml
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_title
|
||||||
|
name: Adaptive
|
||||||
|
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_input_boolean
|
||||||
|
entity: switch.adaptive_lighting_default
|
||||||
|
variables:
|
||||||
|
ulm_card_input_boolean_name: Adaptive
|
||||||
|
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_input_boolean
|
||||||
|
entity: switch.adaptive_lighting_sleep_mode_default
|
||||||
|
variables:
|
||||||
|
ulm_card_input_boolean_name: Sleep
|
||||||
|
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_input_boolean
|
||||||
|
entity: switch.adaptive_lighting_adapt_brightness_default
|
||||||
|
variables:
|
||||||
|
ulm_card_input_boolean_name: Brightness
|
||||||
|
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_input_boolean
|
||||||
|
entity: switch.adaptive_lighting_adapt_color_default
|
||||||
|
variables:
|
||||||
|
ulm_card_input_boolean_name: Color
|
@ -7,26 +7,10 @@
|
|||||||
- type: 'custom:button-card'
|
- type: 'custom:button-card'
|
||||||
template: card_light_slider_collapse
|
template: card_light_slider_collapse
|
||||||
variables:
|
variables:
|
||||||
ulm_card_light_slider_collapse_name: Ceiling 1
|
ulm_card_light_slider_collapse_name: Ceiling
|
||||||
ulm_card_light_enable_collapse: false
|
ulm_card_light_enable_collapse: false
|
||||||
ulm_card_light_name: Ceiling 1
|
ulm_card_light_name: Ceiling
|
||||||
entity: light.ceiling1
|
entity: light.ceiling
|
||||||
- type: 'custom:button-card'
|
|
||||||
template: card_light_slider_collapse
|
|
||||||
variables:
|
|
||||||
ulm_card_light_slider_collapse_name: Ceiling 2
|
|
||||||
ulm_card_light_enable_collapse: false
|
|
||||||
ulm_card_light_name: Ceiling 2
|
|
||||||
entity: light.ceiling2
|
|
||||||
- type: "horizontal-stack"
|
|
||||||
cards:
|
|
||||||
- type: 'custom:button-card'
|
|
||||||
template: card_light_slider_collapse
|
|
||||||
variables:
|
|
||||||
ulm_card_light_slider_collapse_name: Ceiling 3
|
|
||||||
ulm_card_light_enable_collapse: false
|
|
||||||
ulm_card_light_name: Ceiling 3
|
|
||||||
entity: light.ceiling3
|
|
||||||
- type: 'custom:button-card'
|
- type: 'custom:button-card'
|
||||||
template: card_light_slider_collapse
|
template: card_light_slider_collapse
|
||||||
variables:
|
variables:
|
||||||
|
@ -7,10 +7,10 @@
|
|||||||
- card_scenes
|
- card_scenes
|
||||||
variables:
|
variables:
|
||||||
entity_1:
|
entity_1:
|
||||||
entity_id: scene.light_flux
|
entity_id: scene.light_adaptive
|
||||||
icon: "mdi:YOUR_ICON"
|
icon: "mdi:YOUR_ICON"
|
||||||
icon_color: "yellow"
|
icon_color: "yellow"
|
||||||
name: Flux
|
name: Adaptive
|
||||||
bg_color: "yellow"
|
bg_color: "yellow"
|
||||||
entity_2:
|
entity_2:
|
||||||
entity_id: scene.light_blue
|
entity_id: scene.light_blue
|
||||||
@ -25,25 +25,14 @@
|
|||||||
name: Night
|
name: Night
|
||||||
bg_color: "purple"
|
bg_color: "purple"
|
||||||
entity_4:
|
entity_4:
|
||||||
entity_id: scene.light_alloff
|
entity_id: script.light_store_restore
|
||||||
icon: "mdi:YOUR_ICON"
|
icon: "mdi:YOUR_ICON"
|
||||||
icon_color: "green"
|
icon_color: "green"
|
||||||
name: All Off
|
name: All On
|
||||||
bg_color: "green"
|
bg_color: "green"
|
||||||
entity_5:
|
entity_5:
|
||||||
entity_id: scene.light_alloff
|
entity_id: script.light_store_off
|
||||||
icon: "mdi:YOUR_ICON"
|
icon: "mdi:YOUR_ICON"
|
||||||
icon_color: "red"
|
icon_color: "red"
|
||||||
name: All Off
|
name: All Off
|
||||||
bg_color: "red"
|
bg_color: "red"
|
||||||
|
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
|
||||||
template: card_title
|
|
||||||
name: Switches
|
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
|
||||||
template: card_input_boolean
|
|
||||||
entity: switch.circadian_lighting_circadian_lighting
|
|
||||||
variables:
|
|
||||||
ulm_card_input_boolean_name: Circadian Lighting
|
|
@ -1,6 +1,6 @@
|
|||||||
- type: 'custom:button-card'
|
#- type: 'custom:button-card'
|
||||||
template: card_title
|
# template: card_title
|
||||||
name: Batteries
|
# name: Batteries
|
||||||
|
|
||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
@ -22,3 +22,15 @@
|
|||||||
ulm_card_battery_battery_level_danger: 30
|
ulm_card_battery_battery_level_danger: 30
|
||||||
ulm_card_battery_battery_level_warning: 80
|
ulm_card_battery_battery_level_warning: 80
|
||||||
ulm_card_battery_name: iPad
|
ulm_card_battery_name: iPad
|
||||||
|
|
||||||
|
|
||||||
|
# - type: "horizontal-stack"
|
||||||
|
# cards:
|
||||||
|
# - type: 'custom:button-card'
|
||||||
|
# template: card_battery
|
||||||
|
# entity: sensor.kais_apple_watch_battery_state
|
||||||
|
# variables:
|
||||||
|
# ulm_card_battery_charger_type_entity_id: sensor.kais_apple_watch_battery_state
|
||||||
|
# ulm_card_battery_battery_level_danger: 30
|
||||||
|
# ulm_card_battery_battery_level_warning: 80
|
||||||
|
# ulm_card_battery_name: Watch
|
@ -1,28 +1,29 @@
|
|||||||
- type: 'custom:button-card'
|
#- type: 'custom:button-card'
|
||||||
template: card_title
|
# template: card_title
|
||||||
name: Climate
|
# name: Climate
|
||||||
|
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
#- type: custom:simple-weather-card
|
||||||
template: card_generic
|
# entity: weather.pirateweather
|
||||||
entity: sensor.climate_temp_recommendation
|
|
||||||
|
|
||||||
|
|
||||||
- type: custom:simple-weather-card
|
- type: custom:apexcharts-card
|
||||||
entity: weather.pirateweather
|
graph_span: 6h
|
||||||
|
header:
|
||||||
|
show: false
|
||||||
- type: 'custom:button-card'
|
series:
|
||||||
template: card_graph
|
- entity: sensor.temperature_kai_temperature
|
||||||
entity: sensor.temperature_kai_temperature
|
type: line
|
||||||
variables:
|
name: Inside
|
||||||
ulm_card_graph_color: "var(--google-blue)"
|
group_by:
|
||||||
ulm_card_graph_name: Temperature
|
func: avg
|
||||||
ulm_card_graph_entity: sensor.temperature_kai_temperature
|
duration: 30min
|
||||||
ulm_card_graph_color2: "var(--google-green)"
|
- entity: sensor.temperature_outside_pirateweather
|
||||||
ulm_card_graph_entity2: sensor.temperature_outside_pirateweather
|
type: column
|
||||||
ulm_card_graph_type: fill
|
name: Outside
|
||||||
ulm_card_graph_hours: 6
|
group_by:
|
||||||
|
func: avg
|
||||||
|
duration: 30min
|
||||||
|
|
||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
@ -38,3 +39,7 @@
|
|||||||
entity: sensor.temperature_kai_pressure
|
entity: sensor.temperature_kai_pressure
|
||||||
variables:
|
variables:
|
||||||
ulm_card_generic_name: Pressure
|
ulm_card_generic_name: Pressure
|
||||||
|
|
||||||
|
|
||||||
|
- type: custom:weather-card
|
||||||
|
entity: weather.pirateweather
|
@ -1,6 +1,6 @@
|
|||||||
- type: 'custom:button-card'
|
#- type: 'custom:button-card'
|
||||||
template: card_title
|
# template: card_title
|
||||||
name: Energy
|
# name: Energy
|
||||||
|
|
||||||
|
|
||||||
- type: 'custom:button-card'
|
- type: 'custom:button-card'
|
||||||
|
26
lovelace/overview/feed.yaml
Normal file
26
lovelace/overview/feed.yaml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
- type: 'custom:home-feed-card'
|
||||||
|
title: Feed
|
||||||
|
card_id: main_feed
|
||||||
|
show_empty: false
|
||||||
|
more_info_on_tap: true
|
||||||
|
state_color: true
|
||||||
|
compact_mode: true
|
||||||
|
entities:
|
||||||
|
- entity: sensor.climate_temp_recommendation
|
||||||
|
name: Recommendation
|
||||||
|
content_template: '{{state}}'
|
||||||
|
- entity: binary_sensor.warning_duisburg_stadt_1
|
||||||
|
exclude_states:
|
||||||
|
- "Safe"
|
||||||
|
- entity: binary_sensor.warning_duisburg_stadt_2
|
||||||
|
exclude_states:
|
||||||
|
- "Safe"
|
||||||
|
- entity: binary_sensor.warning_duisburg_stadt_3
|
||||||
|
exclude_states:
|
||||||
|
- "Safe"
|
||||||
|
- entity: binary_sensor.warning_duisburg_stadt_4
|
||||||
|
exclude_states:
|
||||||
|
- "Safe"
|
||||||
|
- entity: binary_sensor.warning_duisburg_stadt_5
|
||||||
|
exclude_states:
|
||||||
|
- "Safe"
|
@ -1,6 +1,6 @@
|
|||||||
- type: 'custom:button-card'
|
#- type: 'custom:button-card'
|
||||||
template: card_title
|
# template: card_title
|
||||||
name: Lights
|
# name: Lights
|
||||||
|
|
||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
@ -24,8 +24,16 @@
|
|||||||
entity: light.all_direct
|
entity: light.all_direct
|
||||||
|
|
||||||
|
|
||||||
|
- type: "horizontal-stack"
|
||||||
|
cards:
|
||||||
- type: 'custom:button-card'
|
- type: 'custom:button-card'
|
||||||
template: card_input_boolean
|
template: card_input_boolean
|
||||||
entity: switch.circadian_lighting_circadian_lighting
|
entity: switch.adaptive_lighting_default
|
||||||
variables:
|
variables:
|
||||||
ulm_card_input_boolean_name: Circadian Lighting
|
ulm_card_input_boolean_name: Adaptive
|
||||||
|
|
||||||
|
- type: 'custom:button-card'
|
||||||
|
template: card_input_boolean
|
||||||
|
entity: switch.adaptive_lighting_sleep_mode_default
|
||||||
|
variables:
|
||||||
|
ulm_card_input_boolean_name: Sleep
|
||||||
|
15
lovelace/overview/multimedia.yaml
Normal file
15
lovelace/overview/multimedia.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
#- type: 'custom:button-card'
|
||||||
|
# template: card_title
|
||||||
|
# name: Multimedia
|
||||||
|
|
||||||
|
|
||||||
|
- type: "custom:button-card"
|
||||||
|
template: card_media_player
|
||||||
|
entity: media_player.denon_avr_x1100w
|
||||||
|
name: Denon
|
||||||
|
variables:
|
||||||
|
ulm_card_media_player_more_info: true
|
||||||
|
ulm_card_media_player_collapsible: true
|
||||||
|
ulm_card_media_player_enable_volume_slider: true
|
||||||
|
ulm_card_media_player_enable_controls: true
|
||||||
|
ulm_card_media_player_enable_art: false
|
@ -1,6 +1,6 @@
|
|||||||
- type: 'custom:button-card'
|
#- type: 'custom:button-card'
|
||||||
template: card_title
|
# template: card_title
|
||||||
name: NAS
|
# name: NAS
|
||||||
|
|
||||||
|
|
||||||
- type: "horizontal-stack"
|
- type: "horizontal-stack"
|
||||||
|
20
lovelace/overview/vacuum.yaml
Normal file
20
lovelace/overview/vacuum.yaml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
#- type: 'custom:button-card'
|
||||||
|
# template: card_title
|
||||||
|
# name: Vacuum
|
||||||
|
|
||||||
|
|
||||||
|
- type: 'custom:valetudo-map-card'
|
||||||
|
vacuum: valetudo_rockrobo
|
||||||
|
title:
|
||||||
|
show_status: false
|
||||||
|
show_battery_level: false
|
||||||
|
show_start_button: false
|
||||||
|
show_pause_button: false
|
||||||
|
show_stop_button: false
|
||||||
|
show_home_button: false
|
||||||
|
show_locate_button: false
|
||||||
|
|
||||||
|
|
||||||
|
- type: "custom:button-card"
|
||||||
|
template: "card_vacuum"
|
||||||
|
entity: vacuum.valetudo_rockrobo
|
@ -1,6 +1,8 @@
|
|||||||
- type: 'custom:button-card'
|
#- type: 'custom:button-card'
|
||||||
template: card_title
|
# template: card_title
|
||||||
name: Home Assistant
|
# name: Home Assistant
|
||||||
|
|
||||||
|
|
||||||
- type: "custom:button-card"
|
- type: "custom:button-card"
|
||||||
template: "card_welcome_scenes"
|
template: "card_welcome_scenes"
|
||||||
triggers_update: input_boolean.welcome_collapse
|
triggers_update: input_boolean.welcome_collapse
|
||||||
@ -9,10 +11,10 @@
|
|||||||
ulm_card_welcome_scenes_collapse: input_boolean.welcome_collapse
|
ulm_card_welcome_scenes_collapse: input_boolean.welcome_collapse
|
||||||
ulm_weather: weather.pirateweather
|
ulm_weather: weather.pirateweather
|
||||||
entity_1:
|
entity_1:
|
||||||
entity_id: scene.light_flux
|
entity_id: scene.light_adaptive
|
||||||
icon: "mdi:theme-light-dark"
|
icon: "mdi:theme-light-dark"
|
||||||
icon_color: "yellow"
|
icon_color: "yellow"
|
||||||
name: "Flux"
|
name: "Adaptive"
|
||||||
bg_color: "yellow"
|
bg_color: "yellow"
|
||||||
entity_2:
|
entity_2:
|
||||||
entity_id: scene.light_blue
|
entity_id: scene.light_blue
|
||||||
@ -33,12 +35,8 @@
|
|||||||
name: "All On"
|
name: "All On"
|
||||||
bg_color: "green"
|
bg_color: "green"
|
||||||
entity_5:
|
entity_5:
|
||||||
entity_id: "scene.light_alloff"
|
entity_id: "script.light_store_off"
|
||||||
icon: "mdi:lightbulb-group-off-outline"
|
icon: "mdi:lightbulb-group-off-outline"
|
||||||
icon_color: "red"
|
icon_color: "red"
|
||||||
name: "All Off"
|
name: "All Off"
|
||||||
bg_color: "red"
|
bg_color: "red"
|
||||||
|
|
||||||
|
|
||||||
- type: custom:button-card
|
|
||||||
template: custom_card_httpedo13_sun
|
|
121
packages/climate/climate_automation.yaml
Normal file
121
packages/climate/climate_automation.yaml
Normal file
@ -0,0 +1,121 @@
|
|||||||
|
automation:
|
||||||
|
## -----------------------------------------------------------------------------------------------##
|
||||||
|
## Notification on state change
|
||||||
|
## -----------------------------------------------------------------------------------------------##
|
||||||
|
- alias: "climate_recommendation_close"
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.climate_temp_recommendation
|
||||||
|
to: 'close window'
|
||||||
|
action:
|
||||||
|
- service: notify.notify
|
||||||
|
data:
|
||||||
|
message: "Close the window."
|
||||||
|
- alias: "climate_recommendation_open"
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: sensor.climate_temp_recommendation
|
||||||
|
to: 'open window'
|
||||||
|
action:
|
||||||
|
- service: notify.notify
|
||||||
|
data:
|
||||||
|
message: "Open the window."
|
||||||
|
|
||||||
|
## -----------------------------------------------------------------------------------------------##
|
||||||
|
## Trigger alle 15min um Abfrage und Temperaturanpassung durchzuführen
|
||||||
|
## -----------------------------------------------------------------------------------------------##
|
||||||
|
# - alias: climate_set_auto
|
||||||
|
# initial_state: on
|
||||||
|
# trigger:
|
||||||
|
# - platform: time_pattern
|
||||||
|
# minutes: '/5'
|
||||||
|
# - platform: state
|
||||||
|
# entity_id: sensor.climate_temp
|
||||||
|
# condition:
|
||||||
|
# - condition: template
|
||||||
|
# value_template: '{{ states.climate.kai.state != "unavailable" }}'
|
||||||
|
# action:
|
||||||
|
# - service: script.turn_on
|
||||||
|
# entity_id: script.climate_set
|
||||||
|
# - delay: '00:20'
|
||||||
|
# - service: script.turn_on
|
||||||
|
# entity_id: script.climate_set
|
||||||
|
# - service: input_number.set_value
|
||||||
|
# data_template:
|
||||||
|
# entity_id: input_number.climate_temp_last
|
||||||
|
# value: '{{ states("sensor.aqara_temperature_kai_temperature")|float }}'
|
||||||
|
# - alias: climate_set_manual
|
||||||
|
# initial_state: on
|
||||||
|
# trigger:
|
||||||
|
# - platform: state
|
||||||
|
# entity_id: input_number.climate_temp
|
||||||
|
# condition:
|
||||||
|
# - condition: template
|
||||||
|
# value_template: '{{ states.climate.kai.state != "unavailable" }}'
|
||||||
|
# action:
|
||||||
|
# - service: input_boolean.turn_off
|
||||||
|
# entity_id: input_boolean.climate_auto
|
||||||
|
# - service: script.turn_on
|
||||||
|
# entity_id: script.climate_set
|
||||||
|
# - delay: '00:20'
|
||||||
|
# - service: script.turn_on
|
||||||
|
# entity_id: script.climate_set
|
||||||
|
# - alias: climate_set_power_off
|
||||||
|
# initial_state: on
|
||||||
|
# trigger:
|
||||||
|
# - platform: state
|
||||||
|
# entity_id: input_boolean.climate_power
|
||||||
|
# to: "off"
|
||||||
|
# action:
|
||||||
|
# - service: climate.turn_off
|
||||||
|
# entity_id: climate.kai
|
||||||
|
# - delay: '00:20'
|
||||||
|
# - service: climate.turn_off
|
||||||
|
# entity_id: climate.kai
|
||||||
|
# - alias: climate_set_power_on
|
||||||
|
# initial_state: on
|
||||||
|
# trigger:
|
||||||
|
# - platform: state
|
||||||
|
# entity_id: input_boolean.climate_power
|
||||||
|
# to: "on"
|
||||||
|
# action:
|
||||||
|
# - service: climate.turn_on
|
||||||
|
# entity_id: climate.kai
|
||||||
|
# - delay: '00:20'
|
||||||
|
# - service: climate.turn_on
|
||||||
|
# entity_id: climate.kai
|
||||||
|
## -----------------------------------------------------------------------------------------------##
|
||||||
|
## Trigger alle 5min, wenn Wochentag -> aktiviere Weekday-Boolean
|
||||||
|
## -----------------------------------------------------------------------------------------------##
|
||||||
|
- alias: climate_weekday
|
||||||
|
initial_state: on
|
||||||
|
trigger:
|
||||||
|
platform: time_pattern
|
||||||
|
minutes: '/5'
|
||||||
|
condition:
|
||||||
|
- condition: time
|
||||||
|
weekday:
|
||||||
|
- mon
|
||||||
|
- tue
|
||||||
|
- wed
|
||||||
|
- thu
|
||||||
|
- fri
|
||||||
|
action:
|
||||||
|
service: input_boolean.turn_on
|
||||||
|
entity_id: input_boolean.climate_weekday
|
||||||
|
## -----------------------------------------------------------------------------------------------##
|
||||||
|
## Trigger alle 5min, wenn Wochenende -> deaktiviere Weekday-Boolean
|
||||||
|
## -----------------------------------------------------------------------------------------------##
|
||||||
|
- alias: climate_weekend
|
||||||
|
initial_state: on
|
||||||
|
trigger:
|
||||||
|
platform: time_pattern
|
||||||
|
minutes: '/5'
|
||||||
|
condition:
|
||||||
|
- condition: time
|
||||||
|
weekday:
|
||||||
|
- sat
|
||||||
|
- sun
|
||||||
|
action:
|
||||||
|
service: input_boolean.turn_off
|
||||||
|
entity_id: input_boolean.climate_weekday
|
@ -1,99 +0,0 @@
|
|||||||
automation:
|
|
||||||
## -----------------------------------------------------------------------------------------------##
|
|
||||||
## Trigger alle 15min um Abfrage und Temperaturanpassung durchzuführen
|
|
||||||
## -----------------------------------------------------------------------------------------------##
|
|
||||||
- alias: climate_set_auto
|
|
||||||
initial_state: on
|
|
||||||
trigger:
|
|
||||||
- platform: time_pattern
|
|
||||||
minutes: '/5'
|
|
||||||
- platform: state
|
|
||||||
entity_id: sensor.climate_temp
|
|
||||||
condition:
|
|
||||||
- condition: template
|
|
||||||
value_template: '{{ states.climate.kai.state != "unavailable" }}'
|
|
||||||
action:
|
|
||||||
- service: script.turn_on
|
|
||||||
entity_id: script.climate_set
|
|
||||||
- delay: '00:20'
|
|
||||||
- service: script.turn_on
|
|
||||||
entity_id: script.climate_set
|
|
||||||
- service: input_number.set_value
|
|
||||||
data_template:
|
|
||||||
entity_id: input_number.climate_temp_last
|
|
||||||
value: '{{ states("sensor.aqara_temperature_kai_temperature")|float }}'
|
|
||||||
- alias: climate_set_manual
|
|
||||||
initial_state: on
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_number.climate_temp
|
|
||||||
condition:
|
|
||||||
- condition: template
|
|
||||||
value_template: '{{ states.climate.kai.state != "unavailable" }}'
|
|
||||||
action:
|
|
||||||
- service: input_boolean.turn_off
|
|
||||||
entity_id: input_boolean.climate_auto
|
|
||||||
- service: script.turn_on
|
|
||||||
entity_id: script.climate_set
|
|
||||||
- delay: '00:20'
|
|
||||||
- service: script.turn_on
|
|
||||||
entity_id: script.climate_set
|
|
||||||
- alias: climate_set_power_off
|
|
||||||
initial_state: on
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_boolean.climate_power
|
|
||||||
to: "off"
|
|
||||||
action:
|
|
||||||
- service: climate.turn_off
|
|
||||||
entity_id: climate.kai
|
|
||||||
- delay: '00:20'
|
|
||||||
- service: climate.turn_off
|
|
||||||
entity_id: climate.kai
|
|
||||||
- alias: climate_set_power_on
|
|
||||||
initial_state: on
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_boolean.climate_power
|
|
||||||
to: "on"
|
|
||||||
action:
|
|
||||||
- service: climate.turn_on
|
|
||||||
entity_id: climate.kai
|
|
||||||
- delay: '00:20'
|
|
||||||
- service: climate.turn_on
|
|
||||||
entity_id: climate.kai
|
|
||||||
## -----------------------------------------------------------------------------------------------##
|
|
||||||
## Trigger alle 5min, wenn Wochentag -> aktiviere Weekday-Boolean
|
|
||||||
## -----------------------------------------------------------------------------------------------##
|
|
||||||
- alias: climate_weekday
|
|
||||||
initial_state: on
|
|
||||||
trigger:
|
|
||||||
platform: time_pattern
|
|
||||||
minutes: '/5'
|
|
||||||
condition:
|
|
||||||
- condition: time
|
|
||||||
weekday:
|
|
||||||
- mon
|
|
||||||
- tue
|
|
||||||
- wed
|
|
||||||
- thu
|
|
||||||
- fri
|
|
||||||
- sun
|
|
||||||
action:
|
|
||||||
service: input_boolean.turn_on
|
|
||||||
entity_id: input_boolean.climate_weekday
|
|
||||||
## -----------------------------------------------------------------------------------------------##
|
|
||||||
## Trigger alle 5min, wenn Wochenende -> deaktiviere Weekday-Boolean
|
|
||||||
## -----------------------------------------------------------------------------------------------##
|
|
||||||
- alias: climate_weekend
|
|
||||||
initial_state: on
|
|
||||||
trigger:
|
|
||||||
platform: time_pattern
|
|
||||||
minutes: '/5'
|
|
||||||
condition:
|
|
||||||
- condition: time
|
|
||||||
weekday:
|
|
||||||
- sat
|
|
||||||
action:
|
|
||||||
service: input_boolean.turn_off
|
|
||||||
entity_id: input_boolean.climate_weekday
|
|
@ -14,6 +14,11 @@ homeassistant:
|
|||||||
- 10.10.10.0/24
|
- 10.10.10.0/24
|
||||||
|
|
||||||
|
|
||||||
|
lovelace:
|
||||||
|
mode: yaml
|
||||||
|
resources: !include ../../resources.yaml
|
||||||
|
|
||||||
|
|
||||||
http:
|
http:
|
||||||
use_x_forwarded_for: true
|
use_x_forwarded_for: true
|
||||||
trusted_proxies:
|
trusted_proxies:
|
||||||
@ -34,6 +39,7 @@ history:
|
|||||||
map:
|
map:
|
||||||
mobile_app:
|
mobile_app:
|
||||||
person:
|
person:
|
||||||
|
python_script:
|
||||||
ssdp:
|
ssdp:
|
||||||
system_health:
|
system_health:
|
||||||
timer:
|
timer:
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
lovelace:
|
|
||||||
mode: yaml
|
|
||||||
|
|
||||||
resources:
|
|
||||||
- url: /hacsfiles/button-card/button-card.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/light-entity-card/light-entity-card.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/lovelace-card-mod/card-mod.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/my-cards/my-slider.js
|
|
||||||
type: module
|
|
||||||
#- url: /hacsfiles/my-cards/my-slider-v2.js
|
|
||||||
# type: module
|
|
||||||
- url: /hacsfiles/my-cards/my-button.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/simple-weather-card/simple-weather-card-bundle.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/home-assistant-sun-card/home-assistant-sun-card.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/lovelace-layout-card/layout-card.js
|
|
||||||
type: module
|
|
||||||
- url: /hacsfiles/lovelace-state-switch/state-switch.js
|
|
||||||
type: module
|
|
@ -48,8 +48,8 @@ homekit:
|
|||||||
name: Lights Off
|
name: Lights Off
|
||||||
scene.light_blue:
|
scene.light_blue:
|
||||||
name: Lights Blue
|
name: Lights Blue
|
||||||
scene.light_flux:
|
scene.light_adaptive:
|
||||||
name: Lights Flux
|
name: Lights Adaptive
|
||||||
scene.light_night:
|
scene.light_night:
|
||||||
name: Lights Night
|
name: Lights Night
|
||||||
switch.circadian_lighting_circadian_lighting:
|
switch.circadian_lighting_circadian_lighting:
|
||||||
|
18
packages/light/adaptive.yaml
Normal file
18
packages/light/adaptive.yaml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
adaptive_lighting:
|
||||||
|
- name: "default"
|
||||||
|
lights:
|
||||||
|
- light.stripe
|
||||||
|
- light.direct
|
||||||
|
prefer_rgb_color: false
|
||||||
|
transition: 45
|
||||||
|
initial_transition: 1
|
||||||
|
interval: 90
|
||||||
|
min_brightness: 1
|
||||||
|
max_brightness: 80
|
||||||
|
min_color_temp: 2700
|
||||||
|
max_color_temp: 6500
|
||||||
|
sleep_brightness: 1
|
||||||
|
sleep_color_temp: 1000
|
||||||
|
take_over_control: true
|
||||||
|
detect_non_ha_changes: false
|
||||||
|
only_once: false
|
@ -1,15 +1,14 @@
|
|||||||
scene:
|
scene:
|
||||||
- name: light_alloff
|
- name: light_adaptive
|
||||||
entities:
|
|
||||||
light.all_lights: false
|
|
||||||
- name: light_flux
|
|
||||||
entities:
|
entities:
|
||||||
light.all_direct: false
|
light.all_direct: false
|
||||||
light.all_indirect: true
|
light.all_indirect: true
|
||||||
switch.circadian_lighting_circadian_lighting: on
|
switch.adaptive_lighting_default: on
|
||||||
|
switch.adaptive_lighting_sleep_mode_default: off
|
||||||
- name: light_blue
|
- name: light_blue
|
||||||
entities:
|
entities:
|
||||||
switch.circadian_lighting_circadian_lighting: off
|
switch.adaptive_lighting_default: off
|
||||||
|
switch.adaptive_lighting_sleep_mode_default: off
|
||||||
light.all_direct: false
|
light.all_direct: false
|
||||||
light.all_indirect:
|
light.all_indirect:
|
||||||
rgb_color: [0, 0, 255]
|
rgb_color: [0, 0, 255]
|
||||||
@ -17,9 +16,10 @@ scene:
|
|||||||
brightness: 20
|
brightness: 20
|
||||||
- name: light_night
|
- name: light_night
|
||||||
entities:
|
entities:
|
||||||
switch.circadian_lighting_circadian_lighting: off
|
switch.adaptive_lighting_default: on
|
||||||
light.all_direct: false
|
light.all_direct: false
|
||||||
light.all_indirect:
|
light.all_indirect:
|
||||||
rgb_color: [255, 139, 21]
|
rgb_color: [255, 139, 21]
|
||||||
state: true
|
state: true
|
||||||
brightness: 1
|
brightness: 1
|
||||||
|
switch.adaptive_lighting_sleep_mode_default: on
|
@ -10,9 +10,9 @@ script:
|
|||||||
store_name: flash_store
|
store_name: flash_store
|
||||||
entity_id:
|
entity_id:
|
||||||
- light.bed
|
- light.bed
|
||||||
- light.closet
|
- light.ceiling
|
||||||
- light.desk
|
- light.desk
|
||||||
- light.direct
|
- light.bed_ceiling
|
||||||
- light.tv
|
- light.tv
|
||||||
light_store_off:
|
light_store_off:
|
||||||
sequence:
|
sequence:
|
||||||
|
@ -19,28 +19,28 @@ yeelight:
|
|||||||
10.10.10.82:
|
10.10.10.82:
|
||||||
name: ceiling1
|
name: ceiling1
|
||||||
save_on_change: False
|
save_on_change: False
|
||||||
transition: 2500
|
transition: 1500
|
||||||
10.10.10.83:
|
10.10.10.83:
|
||||||
name: ceiling2
|
name: ceiling2
|
||||||
save_on_change: False
|
save_on_change: False
|
||||||
transition: 2500
|
transition: 1500
|
||||||
10.10.10.80:
|
10.10.10.80:
|
||||||
name: ceiling3
|
name: ceiling3
|
||||||
save_on_change: False
|
save_on_change: False
|
||||||
transition: 2500
|
transition: 1500
|
||||||
10.10.10.81:
|
10.10.10.81:
|
||||||
name: bed_ceiling
|
name: bed_ceiling
|
||||||
save_on_change: False
|
save_on_change: False
|
||||||
transition: 2500
|
transition: 1500
|
||||||
10.10.10.84:
|
10.10.10.84:
|
||||||
name: bed
|
name: bed
|
||||||
save_on_change: False
|
save_on_change: False
|
||||||
transition: 2500
|
transition: 1500
|
||||||
model: strip1
|
model: strip1
|
||||||
10.10.10.85:
|
10.10.10.85:
|
||||||
name: desk
|
name: desk
|
||||||
save_on_change: False
|
save_on_change: False
|
||||||
transition: 2500
|
transition: 1500
|
||||||
model: strip1
|
model: strip1
|
||||||
|
|
||||||
|
|
||||||
|
@ -21,3 +21,4 @@ sensor:
|
|||||||
temperature_outside_pirateweather:
|
temperature_outside_pirateweather:
|
||||||
value_template: '{{ states.weather.pirateweather.attributes.temperature }}'
|
value_template: '{{ states.weather.pirateweather.attributes.temperature }}'
|
||||||
friendly_name: 'Outside Temperature'
|
friendly_name: 'Outside Temperature'
|
||||||
|
unit_of_measurement: '°C'
|
36
resources.yaml
Normal file
36
resources.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
- url: /hacsfiles/button-card/button-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/light-entity-card/light-entity-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-auto-entities/auto-entities.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-card-mod/card-mod.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/mini-graph-card/mini-graph-card-bundle.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/my-cards/my-slider.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/my-cards/my-button.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/simple-weather-card/simple-weather-card-bundle.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/home-assistant-sun-card/home-assistant-sun-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-layout-card/layout-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-state-switch/state-switch.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-valetudo-map-card/valetudo-map-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/apexcharts-card/apexcharts-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-home-feed-card/lovelace-home-feed-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/hass-swipe-navigation/swipe-navigation.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/weather-card/weather-card.js
|
||||||
|
type: module
|
||||||
|
- url: /hacsfiles/lovelace-mushroom/mushroom.js
|
||||||
|
type: module
|
14
ui-lovelace-testing.yaml
Normal file
14
ui-lovelace-testing.yaml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
button_card_templates: !include_dir_merge_named "custom_components/ui_lovelace_minimalist/__ui_minimalist__/ulm_templates/"
|
||||||
|
|
||||||
|
|
||||||
|
title: "Testing"
|
||||||
|
theme: "minimalist-desktop"
|
||||||
|
background: "var(--background-image)"
|
||||||
|
|
||||||
|
|
||||||
|
swipe_nav:
|
||||||
|
wrap: true
|
||||||
|
animate: swipe
|
||||||
|
prevent_default: true
|
||||||
|
swipe_amount: 30
|
@ -7,28 +7,59 @@ theme: "minimalist-desktop"
|
|||||||
background: "var(--background-image)"
|
background: "var(--background-image)"
|
||||||
|
|
||||||
|
|
||||||
|
swipe_nav:
|
||||||
|
wrap: true
|
||||||
|
animate: swipe
|
||||||
|
prevent_default: true
|
||||||
|
swipe_amount: 30
|
||||||
|
|
||||||
|
|
||||||
views:
|
views:
|
||||||
- title: "Overview"
|
- type: custom:vertical-layout
|
||||||
|
title: "Overview"
|
||||||
path: 0
|
path: 0
|
||||||
cards:
|
cards:
|
||||||
- type: "vertical-stack"
|
## Column 1
|
||||||
|
- type: custom:vertical-layout
|
||||||
|
type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/welcome.yaml
|
!include lovelace/overview/welcome.yaml
|
||||||
- type: "vertical-stack"
|
- type: custom:vertical-layout
|
||||||
|
type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/lights.yaml
|
!include lovelace/overview/lights.yaml
|
||||||
- type: "vertical-stack"
|
- type: custom:vertical-layout
|
||||||
|
type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/overview/feed.yaml
|
||||||
|
- type: custom:layout-break
|
||||||
|
## Column 2
|
||||||
|
- type: custom:vertical-layout
|
||||||
|
type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/climate.yaml
|
!include lovelace/overview/climate.yaml
|
||||||
- type: "vertical-stack"
|
- type: custom:vertical-layout
|
||||||
|
type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/batteries.yaml
|
!include lovelace/overview/batteries.yaml
|
||||||
- type: "vertical-stack"
|
- type: custom:vertical-layout
|
||||||
cards:
|
type: "vertical-stack"
|
||||||
!include lovelace/overview/energy.yaml
|
|
||||||
- type: "vertical-stack"
|
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/nas.yaml
|
!include lovelace/overview/nas.yaml
|
||||||
|
- type: custom:layout-break
|
||||||
|
## Column 3
|
||||||
|
- type: custom:vertical-layout
|
||||||
|
type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/overview/energy.yaml
|
||||||
|
- type: custom:vertical-layout
|
||||||
|
type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/overview/multimedia.yaml
|
||||||
|
- type: custom:vertical-layout
|
||||||
|
type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/overview/vacuum.yaml
|
||||||
|
|
||||||
|
|
||||||
- title: "Lights"
|
- title: "Lights"
|
||||||
@ -37,6 +68,9 @@ views:
|
|||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/lights/scenes.yaml
|
!include lovelace/lights/scenes.yaml
|
||||||
|
- type: "vertical-stack"
|
||||||
|
cards:
|
||||||
|
!include lovelace/lights/adaptive.yaml
|
||||||
- type: "vertical-stack"
|
- type: "vertical-stack"
|
||||||
cards:
|
cards:
|
||||||
!include lovelace/lights/lightgroups.yaml
|
!include lovelace/lights/lightgroups.yaml
|
||||||
|
Reference in New Issue
Block a user