Add climate to floorplan view

This commit is contained in:
2020-11-18 23:17:46 +02:00
parent 129aa527f4
commit cde0ffc1c2
@@ -56,6 +56,31 @@
- left: 48% - left: 48%
- icon: mdi:video - icon: mdi:video
# Radiator
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: climate.living_room_radiator_mode
- top: 86%
- left: 77.8%
- icon: mdi:radiator
- tap_action:
action: more-info
# Temperature
- type: state-label
entity: sensor.trisensor_temperature
style:
top: 76%
left: 75%
color: "#000"
border-radius: 6px
text-align: center
background-color: "rgba(255, 255, 255, 0.9)"
font-size: 13px
font-weight: bold
line-height: 8px
# Master Bedroom ──────────────────────────────────────────────────────────────────────── # Master Bedroom ────────────────────────────────────────────────────────────────────────
# Puifier # Puifier
@@ -77,6 +102,17 @@
- tap_action: - tap_action:
action: more-info action: more-info
# Radiator
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: climate.bedroom_radiator_mode
- top: 27%
- left: 81%
- icon: mdi:radiator
- tap_action:
action: more-info
# Temperature # Temperature
- type: state-label - type: state-label
entity: sensor.bedroom_weather_temperature entity: sensor.bedroom_weather_temperature
@@ -114,6 +150,31 @@
- tap_action: - tap_action:
action: more-info action: more-info
# Radiator
- type: custom:decluttering-card
template: floorplan_state_with_icon
variables:
- entity: climate.kitchen_radiator_mode
- top: 43%
- left: 12.9%
- icon: mdi:radiator
- tap_action:
action: more-info
# Temperature
- type: state-label
entity: sensor.kitchen_weather_temperature
style:
top: 43%
left: 22%
color: "#000"
border-radius: 6px
text-align: center
background-color: "rgba(255, 255, 255, 0.9)"
font-size: 13px
font-weight: bold
line-height: 8px
# Bathroom ──────────────────────────────────────────────────────────────────────── # Bathroom ────────────────────────────────────────────────────────────────────────
# Sonos # Sonos
@@ -127,6 +188,20 @@
- tap_action: - tap_action:
action: more-info action: more-info
# Temperature
- type: state-label
entity: sensor.bathroom_weather_temperature
style:
top: 17%
left: 35%
color: "#000"
border-radius: 6px
text-align: center
background-color: "rgba(255, 255, 255, 0.9)"
font-size: 13px
font-weight: bold
line-height: 8px
# Hallway ──────────────────────────────────────────────────────────────────────── # Hallway ────────────────────────────────────────────────────────────────────────
# Motion # Motion
@@ -139,6 +214,20 @@
- tap_action: - tap_action:
action: more-info action: more-info
# Temperature
- type: state-label
entity: sensor.hallway_weather_temperature
style:
top: 17%
left: 50%
color: "#000"
border-radius: 6px
text-align: center
background-color: "rgba(255, 255, 255, 0.9)"
font-size: 13px
font-weight: bold
line-height: 8px
# Always visible ──────────────────────────────────────────────────────────────────────── # Always visible ────────────────────────────────────────────────────────────────────────
# Living room window # Living room window