Change hygrometer to statestream mqtt sensors

This commit is contained in:
Florian Brinker 2019-10-29 19:54:18 +01:00
parent b9f459b0dd
commit e641a8b30a
4 ha cambiato i file con 65 aggiunte e 9 eliminazioni

Vedi File

@ -42,3 +42,15 @@ cards:
- entity: switch.wallboard_display - entity: switch.wallboard_display
name: Display name: Display
icon: mdi:tablet icon: mdi:tablet
- type: entities
title: Home Assistant Slaves
show_header_toggle: false
entities:
- type: weblink
name: Livingroom
url: !secret url_haslave_livingroom
icon: mdi:home-assistant
- type: weblink
name: Office
url: !secret url_haslave_office
icon: mdi:home-assistant

Vedi File

@ -8,14 +8,14 @@ cards:
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: sensor - type: sensor
entity: sensor.parents_bathroom_hygrometer_humidity entity: sensor.hygro_bathroom_parents_humidity
name: Luftfeuchtigkeit name: Luftfeuchtigkeit
graph: line graph: line
unit: "%" unit: "%"
detail: 2 detail: 2
hours_to_show: 12 hours_to_show: 12
- type: sensor - type: sensor
entity: sensor.parents_bathroom_hygrometer_temperature entity: sensor.hygro_bathroom_parents_temperature
name: Temperatur name: Temperatur
graph: line graph: line
unit: °C unit: °C
@ -26,14 +26,14 @@ cards:
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: sensor - type: sensor
entity: sensor.kids_bathroom_hygrometer_humidity entity: sensor.hygro_bathroom_kids_humidity
name: Luftfeuchtigkeit name: Luftfeuchtigkeit
graph: line graph: line
unit: "%" unit: "%"
detail: 2 detail: 2
hours_to_show: 12 hours_to_show: 12
- type: sensor - type: sensor
entity: sensor.kids_bathroom_hygrometer_temperature entity: sensor.hygro_bathroom_kids_temperature
name: Temperatur name: Temperatur
graph: line graph: line
unit: °C unit: °C
@ -100,14 +100,14 @@ cards:
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: sensor - type: sensor
entity: sensor.hwr_hygrometer_humidity entity: sensor.hygro_hwr_humidity
name: Luftfeuchtigkeit name: Luftfeuchtigkeit
graph: line graph: line
unit: "%" unit: "%"
detail: 2 detail: 2
hours_to_show: 12 hours_to_show: 12
- type: sensor - type: sensor
entity: sensor.hwr_hygrometer_temperature entity: sensor.hygro_hwr_temperature
name: Temperatur name: Temperatur
graph: line graph: line
unit: °C unit: °C

Vedi File

@ -1,6 +1,18 @@
title: Übersicht title: Übersicht
path: overview path: overview
cards: cards:
- type: conditional
conditions:
- entity: binary_sensor.openclose_10
state: "on"
card:
type: entities
title: Offene Fenster
show_header_toggle: false
entities:
- entity: binary_sensor.openclose_10
name: Elternbad
icon: mdi:window-open
- type: vertical-stack - type: vertical-stack
cards: cards:
- type: custom:weather-card - type: custom:weather-card
@ -36,4 +48,4 @@ cards:
aspect_ratio: 75% aspect_ratio: 75%
default_zoom: 15 default_zoom: 15
entities: entities:
- zone.home - zone.home

Vedi File

@ -1,12 +1,44 @@
- platform: mqtt
name: hygro_bathroom_parents_temperature
state_topic: "homeassistant-slaves-states/office/sensor/parents_bathroom_hygrometer_temperature/state"
force_update: true
unit_of_measurement: "°C"
- platform: mqtt
name: hygro_bathroom_parents_humidity
state_topic: "homeassistant-slaves-states/office/sensor/parents_bathroom_hygrometer_humidity/state"
force_update: true
unit_of_measurement: "%"
- platform: mqtt
name: hygro_bathroom_kids_temperature
state_topic: "homeassistant-slaves-states/office/sensor/kids_bathroom_hygrometer_temperature/state"
force_update: true
unit_of_measurement: "°C"
- platform: mqtt
name: hygro_bathroom_kids_humidity
state_topic: "homeassistant-slaves-states/office/sensor/kids_bathroom_hygrometer_humidity/state"
force_update: true
unit_of_measurement: "%"
- platform: mqtt
name: hygro_hwr_temperature
state_topic: "homeassistant-slaves-states/livingroom/sensor/hwr_hygrometer_temperature/state"
force_update: true
unit_of_measurement: "°C"
- platform: mqtt
name: hygro_hwr_humidity
state_topic: "homeassistant-slaves-states/livingroom/sensor/hwr_hygrometer_humidity/state"
force_update: true
unit_of_measurement: "%"
- platform: mqtt - platform: mqtt
name: "mobile_fb_battery" name: "mobile_fb_battery"
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_topic: "homeassistant/sensor/android_mobile_fb_battery/state" json_attributes_topic: "homeassistant/sensor/android_mobile_fb_battery/state"
- 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_topic: "homeassistant/sensor/android_mobile_fb_callstate/state" json_attributes_topic: "homeassistant/sensor/android_mobile_fb_callstate/state"