responsive dashboard
This commit is contained in:
parent
4180f4da80
commit
812721e997
@ -5,8 +5,27 @@ panel: true
|
|||||||
cards:
|
cards:
|
||||||
- type: custom:layout-card
|
- type: custom:layout-card
|
||||||
layout: vertical
|
layout: vertical
|
||||||
column_width: [-, 200px]
|
column_width: 350
|
||||||
|
max_width: [200px,100%]
|
||||||
|
rtl: true
|
||||||
cards:
|
cards:
|
||||||
|
- type: custom:layout-card
|
||||||
|
column_width: 150
|
||||||
|
max_width: 200
|
||||||
|
cards:
|
||||||
|
- type: entity-button
|
||||||
|
entity: switch.varme_jst
|
||||||
|
name: JST
|
||||||
|
icon: mdi:fan
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
- type: entity-button
|
||||||
|
entity: switch.varme_mhr
|
||||||
|
name: MHR
|
||||||
|
icon: mdi:fan
|
||||||
|
tap_action:
|
||||||
|
action: toggle
|
||||||
|
- break
|
||||||
- type: custom:layout-card
|
- type: custom:layout-card
|
||||||
column_width: 350
|
column_width: 350
|
||||||
max_width: 960
|
max_width: 960
|
||||||
@ -41,16 +60,3 @@ cards:
|
|||||||
entity: sun.sun
|
entity: sun.sun
|
||||||
- type: entity-button
|
- type: entity-button
|
||||||
entity: binary_sensor.sopor
|
entity: binary_sensor.sopor
|
||||||
- break
|
|
||||||
- type: entity-button
|
|
||||||
entity: switch.varme_jst
|
|
||||||
name: JST
|
|
||||||
icon: mdi:fan
|
|
||||||
tap_action:
|
|
||||||
action: toggle
|
|
||||||
- type: entity-button
|
|
||||||
entity: switch.varme_mhr
|
|
||||||
name: MHR
|
|
||||||
icon: mdi:fan
|
|
||||||
tap_action:
|
|
||||||
action: toggle
|
|
||||||
|
@ -12,6 +12,7 @@ binary_sensor:
|
|||||||
- platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
sopor:
|
sopor:
|
||||||
|
entity_id: sensor.time
|
||||||
friendly_name: Sopor
|
friendly_name: Sopor
|
||||||
icon_template: >-
|
icon_template: >-
|
||||||
{% if is_state('binary_sensor.sopor', 'on') %}
|
{% if is_state('binary_sensor.sopor', 'on') %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user