Cleanup
This commit is contained in:
parent
1f3c4e8b6e
commit
e46c7eadab
@ -8,31 +8,31 @@
|
|||||||
variables:
|
variables:
|
||||||
entity_1:
|
entity_1:
|
||||||
entity_id: scene.light_adaptive
|
entity_id: scene.light_adaptive
|
||||||
icon: "mdi:YOUR_ICON"
|
icon: "mdi:theme-light-dark"
|
||||||
icon_color: "yellow"
|
icon_color: "yellow"
|
||||||
name: Adaptive
|
name: "Adaptive"
|
||||||
bg_color: "yellow"
|
bg_color: "yellow"
|
||||||
entity_2:
|
entity_2:
|
||||||
entity_id: scene.light_blue
|
entity_id: scene.light_bright
|
||||||
icon: "mdi:YOUR_ICON"
|
icon: "mdi:television-play"
|
||||||
icon_color: "blue"
|
icon_color: "blue"
|
||||||
name: Blue
|
name: "Bright"
|
||||||
bg_color: "blue"
|
bg_color: "blue"
|
||||||
entity_3:
|
entity_3:
|
||||||
entity_id: scene.light_night
|
entity_id: "scene.light_night"
|
||||||
icon: "mdi:YOUR_ICON"
|
icon: "mdi:weather-night"
|
||||||
icon_color: "purple"
|
icon_color: "purple"
|
||||||
name: Night
|
name: "Night"
|
||||||
bg_color: "purple"
|
bg_color: "purple"
|
||||||
entity_4:
|
entity_4:
|
||||||
entity_id: script.light_store_restore
|
entity_id: "script.light_store_restore"
|
||||||
icon: "mdi:YOUR_ICON"
|
icon: "mdi:lightbulb-group"
|
||||||
icon_color: "green"
|
icon_color: "green"
|
||||||
name: All On
|
name: "All On"
|
||||||
bg_color: "green"
|
bg_color: "green"
|
||||||
entity_5:
|
entity_5:
|
||||||
entity_id: script.light_store_off
|
entity_id: "script.light_store_off"
|
||||||
icon: "mdi:YOUR_ICON"
|
icon: "mdi:lightbulb-group-off-outline"
|
||||||
icon_color: "red"
|
icon_color: "red"
|
||||||
name: All Off
|
name: "All Off"
|
||||||
bg_color: "red"
|
bg_color: "red"
|
@ -21,16 +21,4 @@
|
|||||||
ulm_card_battery_charger_type_entity_id: sensor.ipad_battery_level
|
ulm_card_battery_charger_type_entity_id: sensor.ipad_battery_level
|
||||||
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,8 +1,7 @@
|
|||||||
script:
|
script:
|
||||||
#----------------------------------------------------------------------------------#
|
|
||||||
# L/R
|
|
||||||
#----------------------------------------------------------------------------------#
|
#----------------------------------------------------------------------------------#
|
||||||
# Left
|
# Left
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
pos_left_incr:
|
pos_left_incr:
|
||||||
alias: pos_left_incr
|
alias: pos_left_incr
|
||||||
sequence:
|
sequence:
|
||||||
@ -39,7 +38,9 @@ script:
|
|||||||
target:
|
target:
|
||||||
entity_id: timer.pos_timer
|
entity_id: timer.pos_timer
|
||||||
mode: single
|
mode: single
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
# Right
|
# Right
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
pos_right_incr:
|
pos_right_incr:
|
||||||
alias: pos_right_incr
|
alias: pos_right_incr
|
||||||
sequence:
|
sequence:
|
||||||
@ -77,10 +78,9 @@ script:
|
|||||||
entity_id: timer.pos_timer
|
entity_id: timer.pos_timer
|
||||||
mode: single
|
mode: single
|
||||||
|
|
||||||
#----------------------------------------------------------------------------------#
|
|
||||||
# Up/Down
|
|
||||||
#----------------------------------------------------------------------------------#
|
#----------------------------------------------------------------------------------#
|
||||||
# Up
|
# Up
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
pos_up:
|
pos_up:
|
||||||
alias: pos_up
|
alias: pos_up
|
||||||
sequence:
|
sequence:
|
||||||
@ -169,7 +169,9 @@ script:
|
|||||||
target:
|
target:
|
||||||
entity_id: scene.light_bright
|
entity_id: scene.light_bright
|
||||||
mode: single
|
mode: single
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
# Down
|
# Down
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
pos_down:
|
pos_down:
|
||||||
alias: pos_down
|
alias: pos_down
|
||||||
sequence:
|
sequence:
|
||||||
|
@ -5,12 +5,14 @@ automation:
|
|||||||
# Button Left: Pos Left
|
# Button Left: Pos Left
|
||||||
- alias: button_pos_left
|
- alias: button_pos_left
|
||||||
trigger:
|
trigger:
|
||||||
|
# Bed
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 4f9d195bf907da59e1461a5d2404f606
|
device_id: 4f9d195bf907da59e1461a5d2404f606
|
||||||
type: action
|
type: action
|
||||||
subtype: arrow_left_click
|
subtype: arrow_left_click
|
||||||
discovery_id: 0x0c4314fffee0bb44 action_arrow_left_click
|
discovery_id: 0x0c4314fffee0bb44 action_arrow_left_click
|
||||||
|
# Door
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 5e67efdee83ccceaac84046dfc6c735e
|
device_id: 5e67efdee83ccceaac84046dfc6c735e
|
||||||
@ -24,12 +26,14 @@ automation:
|
|||||||
# Button Left: Pos Right
|
# Button Left: Pos Right
|
||||||
- alias: button_pos_right
|
- alias: button_pos_right
|
||||||
trigger:
|
trigger:
|
||||||
|
# Bed
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 4f9d195bf907da59e1461a5d2404f606
|
device_id: 4f9d195bf907da59e1461a5d2404f606
|
||||||
type: action
|
type: action
|
||||||
subtype: arrow_right_click
|
subtype: arrow_right_click
|
||||||
discovery_id: 0x0c4314fffee0bb44 action_arrow_right_click
|
discovery_id: 0x0c4314fffee0bb44 action_arrow_right_click
|
||||||
|
# Door
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 5e67efdee83ccceaac84046dfc6c735e
|
device_id: 5e67efdee83ccceaac84046dfc6c735e
|
||||||
@ -47,18 +51,21 @@ automation:
|
|||||||
# Up
|
# Up
|
||||||
- alias: button_up
|
- alias: button_up
|
||||||
trigger:
|
trigger:
|
||||||
|
# Desk
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 121e4230e41feb19254fa92ed5335760
|
device_id: 121e4230e41feb19254fa92ed5335760
|
||||||
type: action
|
type: action
|
||||||
subtype: "on"
|
subtype: "on"
|
||||||
discovery_id: 0x2c1165fffebebf6d action_on
|
discovery_id: 0x2c1165fffebebf6d action_on
|
||||||
|
# Bed
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 4f9d195bf907da59e1461a5d2404f606
|
device_id: 4f9d195bf907da59e1461a5d2404f606
|
||||||
type: action
|
type: action
|
||||||
subtype: "on"
|
subtype: "on"
|
||||||
discovery_id: 0x0c4314fffee0bb44 action_on
|
discovery_id: 0x0c4314fffee0bb44 action_on
|
||||||
|
# Door
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 5e67efdee83ccceaac84046dfc6c735e
|
device_id: 5e67efdee83ccceaac84046dfc6c735e
|
||||||
@ -71,18 +78,21 @@ automation:
|
|||||||
# Down
|
# Down
|
||||||
- alias: button_down
|
- alias: button_down
|
||||||
trigger:
|
trigger:
|
||||||
|
# Desk
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 121e4230e41feb19254fa92ed5335760
|
device_id: 121e4230e41feb19254fa92ed5335760
|
||||||
type: action
|
type: action
|
||||||
subtype: "off"
|
subtype: "off"
|
||||||
discovery_id: 0x2c1165fffebebf6d action_off
|
discovery_id: 0x2c1165fffebebf6d action_off
|
||||||
|
# Bed
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 4f9d195bf907da59e1461a5d2404f606
|
device_id: 4f9d195bf907da59e1461a5d2404f606
|
||||||
type: action
|
type: action
|
||||||
subtype: "off"
|
subtype: "off"
|
||||||
discovery_id: 0x0c4314fffee0bb44 action_off
|
discovery_id: 0x0c4314fffee0bb44 action_off
|
||||||
|
# Door
|
||||||
- platform: device
|
- platform: device
|
||||||
domain: mqtt
|
domain: mqtt
|
||||||
device_id: 5e67efdee83ccceaac84046dfc6c735e
|
device_id: 5e67efdee83ccceaac84046dfc6c735e
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
## -------------------------------------------------------------------------------------------------##
|
|
||||||
## Sensoren
|
|
||||||
## -------------------------------------------------------------------------------------------------##
|
|
||||||
sensor:
|
sensor:
|
||||||
## -----------------------------------------------------------------------------------------------##
|
## -----------------------------------------------------------------------------------------------##
|
||||||
## Berechnung der Temperaturveränderung
|
## Calculation of temperature change
|
||||||
## -----------------------------------------------------------------------------------------------##
|
## -----------------------------------------------------------------------------------------------##
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
@ -16,7 +13,7 @@ sensor:
|
|||||||
{% if now == ("0.0"|float) %} {% set change = ("0.0"|float) %} {% endif %}
|
{% if now == ("0.0"|float) %} {% set change = ("0.0"|float) %} {% endif %}
|
||||||
{{ change | round(2) }}
|
{{ change | round(2) }}
|
||||||
## -----------------------------------------------------------------------------------------------##
|
## -----------------------------------------------------------------------------------------------##
|
||||||
## Berechnung der aktuellen Zieltemperatur bzgl Morgen/Nacht, Automatik/Manuell
|
## Calculation of the target temperature
|
||||||
## -----------------------------------------------------------------------------------------------##
|
## -----------------------------------------------------------------------------------------------##
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
@ -71,7 +68,7 @@ sensor:
|
|||||||
|
|
||||||
|
|
||||||
## -----------------------------------------------------------------------------------------------##
|
## -----------------------------------------------------------------------------------------------##
|
||||||
## Unterer + Oberer Schwellwert
|
## target min and max temperature
|
||||||
## -----------------------------------------------------------------------------------------------##
|
## -----------------------------------------------------------------------------------------------##
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
@ -113,9 +110,8 @@ sensor:
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## -----------------------------------------------------------------------------------------------##
|
## -----------------------------------------------------------------------------------------------##
|
||||||
## Differenz zu Ziel
|
## difference to target
|
||||||
## -----------------------------------------------------------------------------------------------##
|
## -----------------------------------------------------------------------------------------------##
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
|
@ -5,7 +5,6 @@ automation:
|
|||||||
trigger:
|
trigger:
|
||||||
- event: start
|
- event: start
|
||||||
platform: homeassistant
|
platform: homeassistant
|
||||||
condition: []
|
|
||||||
action:
|
action:
|
||||||
- data:
|
- data:
|
||||||
name: minimalist-desktop
|
name: minimalist-desktop
|
||||||
|
@ -1,16 +0,0 @@
|
|||||||
## -------------------------------------------------------------------------------------------------##
|
|
||||||
## Circadian Lighting / Flux
|
|
||||||
## -------------------------------------------------------------------------------------------------##
|
|
||||||
circadian_lighting:
|
|
||||||
min_colortemp: 2700
|
|
||||||
max_colortemp: 6500
|
|
||||||
interval: 450
|
|
||||||
transition: 8
|
|
||||||
|
|
||||||
|
|
||||||
switch:
|
|
||||||
- platform: circadian_lighting
|
|
||||||
lights_ct:
|
|
||||||
- light.stripe
|
|
||||||
- light.direct
|
|
||||||
max_brightness: 80
|
|
@ -3,6 +3,9 @@
|
|||||||
## https://github.com/pnbruckner/homeassistant-config/blob/master/python_scripts/light_store.py
|
## https://github.com/pnbruckner/homeassistant-config/blob/master/python_scripts/light_store.py
|
||||||
## -------------------------------------------------------------------------------------------------##
|
## -------------------------------------------------------------------------------------------------##
|
||||||
script:
|
script:
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
|
# All Lights
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
light_store_save:
|
light_store_save:
|
||||||
sequence:
|
sequence:
|
||||||
- service: python_script.light_store
|
- service: python_script.light_store
|
||||||
@ -26,7 +29,9 @@ script:
|
|||||||
store_name: flash_store
|
store_name: flash_store
|
||||||
operation: restore
|
operation: restore
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
|
# Ceiling only
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
light_ceiling_save:
|
light_ceiling_save:
|
||||||
sequence:
|
sequence:
|
||||||
- service: python_script.light_store
|
- service: python_script.light_store
|
||||||
@ -41,6 +46,9 @@ script:
|
|||||||
store_name: ceiling_store
|
store_name: ceiling_store
|
||||||
operation: restore
|
operation: restore
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
|
# Ceiling Bed only
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
light_ceiling_bed_save:
|
light_ceiling_bed_save:
|
||||||
sequence:
|
sequence:
|
||||||
- service: python_script.light_store
|
- service: python_script.light_store
|
||||||
@ -55,6 +63,9 @@ script:
|
|||||||
store_name: ceiling_store
|
store_name: ceiling_store
|
||||||
operation: restore
|
operation: restore
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
|
# Indirect only
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
light_indirect_save:
|
light_indirect_save:
|
||||||
sequence:
|
sequence:
|
||||||
- service: python_script.light_store
|
- service: python_script.light_store
|
||||||
|
@ -3,6 +3,7 @@ input_boolean:
|
|||||||
name: Lights needed
|
name: Lights needed
|
||||||
initial: false
|
initial: false
|
||||||
|
|
||||||
|
|
||||||
automation:
|
automation:
|
||||||
- alias: lights_needed
|
- alias: lights_needed
|
||||||
mode: single
|
mode: single
|
||||||
@ -11,6 +12,7 @@ automation:
|
|||||||
minutes: "10"
|
minutes: "10"
|
||||||
action:
|
action:
|
||||||
- if:
|
- if:
|
||||||
|
# Resets at midnight -> OR instead of AND
|
||||||
- condition: or
|
- condition: or
|
||||||
conditions:
|
conditions:
|
||||||
- condition: sun
|
- condition: sun
|
||||||
|
@ -1,8 +1,3 @@
|
|||||||
## -------------------------------------------------------------------------------------------------##
|
|
||||||
## Yeelight
|
|
||||||
## -------------------------------------------------------------------------------------------------##
|
|
||||||
|
|
||||||
|
|
||||||
## -------------------------------------------------------------------------------------------------##
|
## -------------------------------------------------------------------------------------------------##
|
||||||
## Discovery disable
|
## Discovery disable
|
||||||
## -------------------------------------------------------------------------------------------------##
|
## -------------------------------------------------------------------------------------------------##
|
||||||
@ -12,7 +7,7 @@ discovery:
|
|||||||
|
|
||||||
|
|
||||||
## -------------------------------------------------------------------------------------------------##
|
## -------------------------------------------------------------------------------------------------##
|
||||||
## Lampen-Konfig
|
## Lights
|
||||||
## -------------------------------------------------------------------------------------------------##
|
## -------------------------------------------------------------------------------------------------##
|
||||||
yeelight:
|
yeelight:
|
||||||
devices:
|
devices:
|
||||||
@ -45,7 +40,7 @@ yeelight:
|
|||||||
|
|
||||||
|
|
||||||
## -------------------------------------------------------------------------------------------------##
|
## -------------------------------------------------------------------------------------------------##
|
||||||
## Lampengruppen
|
## Light Groups
|
||||||
## -------------------------------------------------------------------------------------------------##
|
## -------------------------------------------------------------------------------------------------##
|
||||||
light:
|
light:
|
||||||
- platform: group
|
- platform: group
|
||||||
@ -78,6 +73,4 @@ light:
|
|||||||
name: all_lights
|
name: all_lights
|
||||||
entities:
|
entities:
|
||||||
- light.all_direct
|
- light.all_direct
|
||||||
- light.all_indirect
|
- light.all_indirect
|
||||||
|
|
||||||
|
|
@ -1,11 +1,3 @@
|
|||||||
input_boolean:
|
input_boolean:
|
||||||
welcome_collapse:
|
welcome_collapse:
|
||||||
name: welcome_collapse
|
name: welcome_collapse
|
||||||
|
|
||||||
|
|
||||||
input_select:
|
|
||||||
minimalist_ui_switch:
|
|
||||||
name: Select popup/view
|
|
||||||
options:
|
|
||||||
- light.all_indirect
|
|
||||||
- light.all_direct
|
|
@ -3,13 +3,11 @@
|
|||||||
## -------------------------------------------------------------------------------------------------##
|
## -------------------------------------------------------------------------------------------------##
|
||||||
wake_on_lan:
|
wake_on_lan:
|
||||||
|
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: wake_on_lan
|
- platform: wake_on_lan
|
||||||
mac: 54:04:A6:BF:1E:43
|
mac: 54:04:A6:BF:1E:43
|
||||||
name: Server
|
name: Server
|
||||||
host: ip.wnsrt.de
|
host: ip.wnsrt.de
|
||||||
#switch:
|
|
||||||
- platform: template
|
- platform: template
|
||||||
switches:
|
switches:
|
||||||
server_template:
|
server_template:
|
||||||
|
@ -1,14 +0,0 @@
|
|||||||
---
|
|
||||||
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
|
|
@ -15,6 +15,9 @@ swipe_nav:
|
|||||||
|
|
||||||
|
|
||||||
views:
|
views:
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
|
# Dashboard
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
- type: custom:vertical-layout
|
- type: custom:vertical-layout
|
||||||
title: "Overview"
|
title: "Overview"
|
||||||
path: 0
|
path: 0
|
||||||
@ -61,6 +64,9 @@ views:
|
|||||||
cards:
|
cards:
|
||||||
!include lovelace/overview/vacuum.yaml
|
!include lovelace/overview/vacuum.yaml
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
|
# Lights
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
- type: custom:vertical-layout
|
- type: custom:vertical-layout
|
||||||
title: "Lights"
|
title: "Lights"
|
||||||
path: 1
|
path: 1
|
||||||
@ -93,7 +99,9 @@ views:
|
|||||||
cards:
|
cards:
|
||||||
!include lovelace/lights/lightmenu.yaml
|
!include lovelace/lights/lightmenu.yaml
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
|
# pfSense
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
- type: custom:vertical-layout
|
- type: custom:vertical-layout
|
||||||
title: "pfSense"
|
title: "pfSense"
|
||||||
path: 2
|
path: 2
|
||||||
@ -122,7 +130,9 @@ views:
|
|||||||
cards:
|
cards:
|
||||||
!include lovelace/pfsense/traffic.yaml
|
!include lovelace/pfsense/traffic.yaml
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
|
# Climate
|
||||||
|
#----------------------------------------------------------------------------------#
|
||||||
- type: custom:vertical-layout
|
- type: custom:vertical-layout
|
||||||
title: "Climate"
|
title: "Climate"
|
||||||
path: 3
|
path: 3
|
||||||
|
Reference in New Issue
Block a user