mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-15 12:34:42 +00:00
Initial terrarium config
This commit is contained in:
@@ -0,0 +1,44 @@
|
|||||||
|
- type: custom:mod-card
|
||||||
|
style:
|
||||||
|
layout-card:
|
||||||
|
.: |
|
||||||
|
* {
|
||||||
|
--primary-color: #0040A0
|
||||||
|
}
|
||||||
|
|
||||||
|
$:
|
||||||
|
horizontal-layout:
|
||||||
|
$:
|
||||||
|
.: |
|
||||||
|
#columns {
|
||||||
|
margin: 0 20px;
|
||||||
|
grid-gap: 20px;
|
||||||
|
}
|
||||||
|
card:
|
||||||
|
type: custom:layout-card
|
||||||
|
layout_type: custom:horizontal-layout
|
||||||
|
layout:
|
||||||
|
max_cols: 3
|
||||||
|
cards:
|
||||||
|
- type: vertical-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:decluttering-card
|
||||||
|
template: v3_title
|
||||||
|
variables:
|
||||||
|
- title: 🐍 Terrarium
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:button-card
|
||||||
|
template: v3_badge_temp
|
||||||
|
entity: sensor.terrarium_weather_temperature
|
||||||
|
- type: custom:button-card
|
||||||
|
template: v3_badge_humidity
|
||||||
|
entity: sensor.terrarium_weather_humidity
|
||||||
|
- type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.terrarium_weather_humidity
|
||||||
|
- main_name: Humidity
|
||||||
|
- left_entity: sensor.terrarium_weather_temperature
|
||||||
|
- left_name: Temperature
|
||||||
|
- right_entity: sensor.terrarium_weather_pressure
|
||||||
@@ -348,6 +348,29 @@ sensor.hallway_weather_humidity:
|
|||||||
- right_entity: sensor.hallway_weather_pressure
|
- right_entity: sensor.hallway_weather_pressure
|
||||||
|
|
||||||
|
|
||||||
|
sensor.terrarium_weather_temperature:
|
||||||
|
title: Terrarium Temperature
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.terrarium_weather_temperature
|
||||||
|
- left_entity: sensor.terrarium_weather_humidity
|
||||||
|
- right_entity: sensor.terrarium_weather_pressure
|
||||||
|
|
||||||
|
|
||||||
|
sensor.terrarium_weather_humidity:
|
||||||
|
title: Terrarium Humidity
|
||||||
|
card:
|
||||||
|
type: custom:decluttering-card
|
||||||
|
template: climate_card
|
||||||
|
variables:
|
||||||
|
- main_entity: sensor.terrarium_weather_humidity
|
||||||
|
- main_name: Humidity
|
||||||
|
- left_entity: sensor.terrarium_weather_temperature
|
||||||
|
- left_name: Temperature
|
||||||
|
- right_entity: sensor.terrarium_weather_pressure
|
||||||
|
|
||||||
sensor.guest_bedroom_weather_temperature:
|
sensor.guest_bedroom_weather_temperature:
|
||||||
title: Guest Bedroom Temperature
|
title: Guest Bedroom Temperature
|
||||||
card:
|
card:
|
||||||
|
|||||||
@@ -204,3 +204,40 @@ sensor:
|
|||||||
icon: "mdi:signal"
|
icon: "mdi:signal"
|
||||||
unit_of_measurement: "lqi"
|
unit_of_measurement: "lqi"
|
||||||
value_template: "{{ value_json.linkquality }}"
|
value_template: "{{ value_json.linkquality }}"
|
||||||
|
|
||||||
|
# Terrarium weather sensor
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Terrarium weather temperature"
|
||||||
|
state_topic: "z2m_deconz/terrarium_weather"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
unit_of_measurement: "°C"
|
||||||
|
device_class: "temperature"
|
||||||
|
value_template: "{{ value_json.temperature }}"
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Terrarium weather humidity"
|
||||||
|
state_topic: "z2m_deconz/terrarium_weather"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
unit_of_measurement: "%"
|
||||||
|
device_class: "humidity"
|
||||||
|
value_template: "{{ value_json.humidity }}"
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Terrarium weather pressure"
|
||||||
|
state_topic: "z2m_deconz/terrarium_weather"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
unit_of_measurement: "hPa"
|
||||||
|
device_class: "pressure"
|
||||||
|
value_template: "{{ value_json.pressure }}"
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Terrarium weather battery"
|
||||||
|
state_topic: "z2m_deconz/terrarium_weather"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
unit_of_measurement: "%"
|
||||||
|
device_class: "battery"
|
||||||
|
value_template: "{{ value_json.battery }}"
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Terrarium weather LQI"
|
||||||
|
state_topic: "z2m_deconz/terrarium_weather"
|
||||||
|
availability_topic: "z2m_deconz/bridge/state"
|
||||||
|
icon: "mdi:signal"
|
||||||
|
unit_of_measurement: "lqi"
|
||||||
|
value_template: "{{ value_json.linkquality }}"
|
||||||
|
|||||||
@@ -46,6 +46,13 @@ views:
|
|||||||
background: 'center / cover no-repeat url("/local/images/wallpapers-3/hallway_2.jpg") #188A9C fixed'
|
background: 'center / cover no-repeat url("/local/images/wallpapers-3/hallway_2.jpg") #188A9C fixed'
|
||||||
cards: !include lovelace/home_dashboard/hallway_dashboard.yaml
|
cards: !include lovelace/home_dashboard/hallway_dashboard.yaml
|
||||||
theme: sarah-noctis-grey
|
theme: sarah-noctis-grey
|
||||||
|
- title: Terrarium
|
||||||
|
path: terrarium
|
||||||
|
icon: "mdi:snake"
|
||||||
|
panel: true
|
||||||
|
background: 'center / cover no-repeat url("/local/images/wallpapers-3/terrarium.jpg") #5E3C0F fixed'
|
||||||
|
cards: !include lovelace/home_dashboard/terrarium_dashboard.yaml
|
||||||
|
theme: sarah-noctis-grey
|
||||||
- title: Guest Bedroom
|
- title: Guest Bedroom
|
||||||
path: guest_bedroom
|
path: guest_bedroom
|
||||||
icon: "mdi:numeric-2-box-outline"
|
icon: "mdi:numeric-2-box-outline"
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 110 KiB |
Reference in New Issue
Block a user