Humidity and Layout changes
This commit is contained in:
parent
455d3cd64c
commit
0781f52d4a
@ -1,25 +1,31 @@
|
|||||||
- alias: Dachboden Luftfeuchtigkeit
|
- alias: Dachboden Luftfeuchtigkeit
|
||||||
trigger:
|
trigger:
|
||||||
platform: numeric_state
|
platform: template
|
||||||
entity_id: sensor.attic_humidity
|
value_template: "{% if (states.sensor.attic_humidity.state|float) > 64 or (states.sensor.attic_humidity.state|float) < 35 %}true{% endif %}"
|
||||||
value_template: '{{ state|float }}'
|
|
||||||
below: 35
|
|
||||||
above: 65
|
|
||||||
action:
|
action:
|
||||||
service: notify.telegram_group
|
service: notify.android
|
||||||
data:
|
data:
|
||||||
title: 'Bitte den Dachboden lüften!'
|
title: 'Bitte den *Dachboden* lüften!'
|
||||||
message: 'Die Luftfeuchtigkeit liegt mit {{ states.sensor.attic_humidity.state }}% außerhalb des Grenzbereichs.'
|
message: 'Die Luftfeuchtigkeit liegt mit einem Wert von *{{ states.sensor.attic_humidity.state }}%* außerhalb des Grenzbereichs.'
|
||||||
|
|
||||||
|
#- alias: Badezimmer Luftfeuchtigkeit
|
||||||
|
# trigger:
|
||||||
|
# platform: numeric_state
|
||||||
|
# entity_id: sensor.bathroom_hygrometer_humidity
|
||||||
|
# value_template: '{{ state|float }}'
|
||||||
|
# below: 35
|
||||||
|
# above: 65
|
||||||
|
# action:
|
||||||
|
# service: notify.telegram_group
|
||||||
|
# data:
|
||||||
|
# title: 'Bitte das Badezimmer lüften!'
|
||||||
|
# message: 'Die Luftfeuchtigkeit liegt mit {{ states.sensor.bathroom_hygrometer_humidity.state }}% außerhalb des Grenzbereichs.'
|
||||||
- alias: Badezimmer Luftfeuchtigkeit
|
- alias: Badezimmer Luftfeuchtigkeit
|
||||||
trigger:
|
trigger:
|
||||||
platform: numeric_state
|
platform: template
|
||||||
entity_id: sensor.bathroom_hygrometer_humidity
|
value_template: "{% if states.sensor.bathroom_hygrometer_humidity and ((states.sensor.bathroom_hygrometer_humidity.state|float) > 55 or (states.sensor.bathroom_hygrometer_humidity.state|float) < 35) %}true{% endif %}"
|
||||||
value_template: '{{ state|float }}'
|
|
||||||
below: 35
|
|
||||||
above: 70
|
|
||||||
action:
|
action:
|
||||||
service: notify.telegram_group
|
service: notify.telegram_group
|
||||||
data:
|
data:
|
||||||
title: 'Bitte das Badezimmer lüften!'
|
title: 'Bitte das *Badezimmer* lüften!'
|
||||||
message: 'Die Luftfeuchtigkeit liegt mit {{ states.sensor.bathroom_hygrometer_humidity.state }}% außerhalb des Grenzbereichs.'
|
message: 'Die Luftfeuchtigkeit liegt mit einem Wert von *{{ states.sensor.bathroom_hygrometer_humidity.state }}%* außerhalb des Grenzbereichs.'
|
||||||
|
@ -6,8 +6,13 @@ homeassistant:
|
|||||||
unit_system: metric
|
unit_system: metric
|
||||||
time_zone: Europe/Berlin
|
time_zone: Europe/Berlin
|
||||||
customize: !include_dir_merge_named customizations/
|
customize: !include_dir_merge_named customizations/
|
||||||
whitelist_external_dirs:
|
auth_providers:
|
||||||
- /backuplogs
|
- type: trusted_networks
|
||||||
|
trusted_networks:
|
||||||
|
- 127.0.0.1
|
||||||
|
- ::1
|
||||||
|
- 192.168.0.0/24
|
||||||
|
- fd00::/8
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
|
|
||||||
@ -18,9 +23,6 @@ http:
|
|||||||
trusted_proxies:
|
trusted_proxies:
|
||||||
- 127.0.0.1
|
- 127.0.0.1
|
||||||
- ::1
|
- ::1
|
||||||
trusted_networks:
|
|
||||||
- 192.168.0.0/16
|
|
||||||
- fd00::/8
|
|
||||||
|
|
||||||
lovelace:
|
lovelace:
|
||||||
mode: yaml
|
mode: yaml
|
||||||
@ -130,6 +132,8 @@ notify:
|
|||||||
- name: telegram_fb
|
- name: telegram_fb
|
||||||
platform: telegram
|
platform: telegram
|
||||||
chat_id: !secret telegram_chat_fb
|
chat_id: !secret telegram_chat_fb
|
||||||
|
- name: android
|
||||||
|
platform: fcm-android
|
||||||
|
|
||||||
device_tracker:
|
device_tracker:
|
||||||
|
|
||||||
@ -141,7 +145,6 @@ media_player:
|
|||||||
name: Fire TV
|
name: Fire TV
|
||||||
host: !secret firetv_ip
|
host: !secret firetv_ip
|
||||||
adbkey: !secret adbkey
|
adbkey: !secret adbkey
|
||||||
get_source: true
|
|
||||||
get_sources: true
|
get_sources: true
|
||||||
|
|
||||||
remote:
|
remote:
|
||||||
@ -166,6 +169,10 @@ binary_sensor:
|
|||||||
country: DE
|
country: DE
|
||||||
province: NW
|
province: NW
|
||||||
workdays: [ mon, tue, wed, thu, fri ]
|
workdays: [ mon, tue, wed, thu, fri ]
|
||||||
|
- platform: tod
|
||||||
|
name: Morning
|
||||||
|
after: '05:00'
|
||||||
|
before: '11:00'
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
state_topic: /home/camera/yihome1/motion/state
|
state_topic: /home/camera/yihome1/motion/state
|
||||||
name: YiHome1 Alarm
|
name: YiHome1 Alarm
|
||||||
|
@ -1,6 +1,11 @@
|
|||||||
icon: mdi:cellphone-link
|
icon: mdi:cellphone-link
|
||||||
path: devices
|
path: devices
|
||||||
cards:
|
cards:
|
||||||
|
- type: entities
|
||||||
|
entities:
|
||||||
|
- entity: sensor.myip
|
||||||
|
name: Öffentliche IP
|
||||||
|
icon: mdi:earth
|
||||||
- type: entities
|
- type: entities
|
||||||
title: Florian
|
title: Florian
|
||||||
show_header_toggle: false
|
show_header_toggle: false
|
||||||
|
@ -1,8 +1,45 @@
|
|||||||
title: Übersicht
|
title: Übersicht
|
||||||
path: overview
|
path: overview
|
||||||
|
cards:
|
||||||
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: weather-forecast
|
- type: weather-forecast
|
||||||
entity: weather.openweathermap
|
entity: weather.openweathermap
|
||||||
|
# - type: iframe
|
||||||
|
# url: !secret iframe_windy
|
||||||
|
# aspect_ratio: 75%
|
||||||
|
- type: iframe
|
||||||
|
url: !secret iframe_earth
|
||||||
|
aspect_ratio: 75%
|
||||||
|
- type: conditional
|
||||||
|
conditions:
|
||||||
|
- entity: binary_sensor.workday_sensor
|
||||||
|
state: "on"
|
||||||
|
- entity: binary_sensor.morning
|
||||||
|
state: "on"
|
||||||
|
card:
|
||||||
|
type: entities
|
||||||
|
title: Nächste Bahn nach Münster
|
||||||
|
show_header_toggle: false
|
||||||
|
entities:
|
||||||
|
- entity: sensor.salzbergen_to_munster_hbf
|
||||||
|
name: Abfahrt
|
||||||
|
- type: vertical-stack
|
||||||
|
cards:
|
||||||
|
- type: glance
|
||||||
|
title: Temperatur
|
||||||
|
show_name: true
|
||||||
|
show_state: true
|
||||||
|
entities:
|
||||||
|
- entity: sensor.bathroom_hygrometer_temperature
|
||||||
|
name: Badezimmer
|
||||||
|
icon: mdi:thermometer
|
||||||
|
- entity: sensor.temperature_3
|
||||||
|
name: Wohnzimmer
|
||||||
|
icon: mdi:thermometer
|
||||||
|
- entity: sensor.attic_temperature
|
||||||
|
name: Dachboden
|
||||||
|
icon: mdi:thermometer
|
||||||
- type: glance
|
- type: glance
|
||||||
title: Luftfeuchtigkeit
|
title: Luftfeuchtigkeit
|
||||||
show_name: true
|
show_name: true
|
||||||
@ -17,25 +54,14 @@ cards:
|
|||||||
- entity: sensor.attic_humidity
|
- entity: sensor.attic_humidity
|
||||||
name: Dachboden
|
name: Dachboden
|
||||||
icon: mdi:water-percent
|
icon: mdi:water-percent
|
||||||
- type: entities
|
|
||||||
entities:
|
|
||||||
- entity: sensor.myip
|
|
||||||
name: Öffentliche IP
|
|
||||||
icon: mdi:earth
|
|
||||||
- type: vertical-stack
|
- type: vertical-stack
|
||||||
cards:
|
cards:
|
||||||
- type: entities
|
|
||||||
title: Nächste Bahn nach Münster
|
|
||||||
show_header_toggle: false
|
|
||||||
entities:
|
|
||||||
- entity: sensor.salzbergen_to_munster_hbf
|
|
||||||
name: Abfahrt
|
|
||||||
- type: map
|
|
||||||
aspect_ratio: 16:9
|
|
||||||
default_zoom: 15
|
|
||||||
entities:
|
|
||||||
- zone.home
|
|
||||||
- type: glance
|
- type: glance
|
||||||
title: Anwesenheit
|
title: Anwesenheit
|
||||||
entities:
|
entities:
|
||||||
- device_tracker.mobile_fb
|
- device_tracker.mobile_fb
|
||||||
|
- type: map
|
||||||
|
aspect_ratio: 75%
|
||||||
|
default_zoom: 15
|
||||||
|
entities:
|
||||||
|
- zone.home
|
@ -12,6 +12,7 @@
|
|||||||
- platform: deutsche_bahn
|
- platform: deutsche_bahn
|
||||||
from: "Salzbergen"
|
from: "Salzbergen"
|
||||||
to: "Münster HBF"
|
to: "Münster HBF"
|
||||||
|
|
||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
salzbergen_to_munster_hbf_ontime:
|
salzbergen_to_munster_hbf_ontime:
|
||||||
|
@ -3,20 +3,13 @@
|
|||||||
state_topic: "homeassistant/sensor/android_mobile_fb_battery/state"
|
state_topic: "homeassistant/sensor/android_mobile_fb_battery/state"
|
||||||
unit_of_measurement: '%'
|
unit_of_measurement: '%'
|
||||||
value_template: "{{ value_json.level }}"
|
value_template: "{{ value_json.level }}"
|
||||||
json_attributes:
|
json_attributes_topic: "homeassistant/sensor/android_mobile_fb_battery/state"
|
||||||
- voltage
|
|
||||||
- temperature
|
|
||||||
- status
|
|
||||||
- power
|
|
||||||
- health
|
|
||||||
- technology
|
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "mobile_fb_callstate"
|
name: "mobile_fb_callstate"
|
||||||
state_topic: "homeassistant/sensor/android_mobile_fb_callstate/state"
|
state_topic: "homeassistant/sensor/android_mobile_fb_callstate/state"
|
||||||
value_template: "{{ value_json.state }}"
|
value_template: "{{ value_json.state }}"
|
||||||
json_attributes:
|
json_attributes_topic: "homeassistant/sensor/android_mobile_fb_callstate/state"
|
||||||
- icon
|
|
||||||
|
|
||||||
- platform: mqtt
|
- platform: mqtt
|
||||||
name: "Attic Humidity"
|
name: "Attic Humidity"
|
||||||
|
Loading…
Reference in New Issue
Block a user