Add test cards

This commit is contained in:
2020-05-03 20:13:19 +03:00
parent d6ad40a621
commit 6a6f7ade34
2 changed files with 77 additions and 42 deletions
+75 -40
View File
@@ -4,30 +4,54 @@ cards:
- type: horizontal-stack - type: horizontal-stack
cards: cards:
- type: custom:button-card - type: custom:button-card
name: Reload themes template: xs
name: Themes
icon: mdi:reload
tap_action: tap_action:
action: call-service action: call-service
service: frontend.reload_themes service: frontend.reload_themes
- type: custom:button-card - type: custom:button-card
name: Reload automations template: xs
name: Auto
icon: mdi:reload
tap_action: tap_action:
action: call-service action: call-service
service: automation.reload service: automation.reload
- type: custom:button-card - type: custom:button-card
name: Reload scripts template: xs
name: Scripts
icon: mdi:reload
tap_action: tap_action:
action: call-service action: call-service
service: script.reload service: script.reload
- type: custom:button-card
template: xs
name: Scenes
icon: mdi:reload
tap_action:
action: call-service
service: scene.reload
- type: custom:button-card
template: xs
name: Groups
icon: mdi:reload
tap_action:
action: call-service
service: group.reload
- type: entities - type: entities
entities: entities:
- input_boolean.magic_cube_enabled - input_boolean.magic_cube_enabled
- input_select.magic_cube_mode - input_select.magic_cube_mode
- entity: sensor.cube_analog_input - sensor.cube_analog_input
- entity: sensor.cube_multistate_input - sensor.cube_multistate_input
- entity: sensor.cube_power - sensor.cube_power
- entity: sensor.carbon_activity - type: divider
- entity: sensor.carbon_last_update_trigger - entity: binary_sensor.lumi_lumi_vibration_aq1_b8c6c402_ias_zone
name: Vibration
- type: divider
- sensor.carbon_activity
- sensor.carbon_last_update_trigger
- type: custom:mini-graph-card - type: custom:mini-graph-card
hours_to_show: 168 hours_to_show: 168
@@ -36,41 +60,52 @@ cards:
entities: entities:
- sensor.dark_sky_cloud_coverage - sensor.dark_sky_cloud_coverage
- sensor.dark_sky_uv_index - sensor.dark_sky_uv_index
- type: "custom:mini-graph-card" - type: custom:mini-graph-card
animate: true hours_to_show: 168
points_per_hour: 0.25
# line_width: 2
entities: entities:
- entity: sensor.purifier_temperature - sensor.dark_sky_precip_intensity
index: 0 - sensor.dark_sky_precip_probability
name: Purifier Temperature - type: history-graph
- entity: sensor.bedroom_weather_temperature hours_to_show: 168
index: 1 entities:
name: Weather Temperature - sensor.dark_sky_precip
line_color: - sensor.dark_sky_precip_probability
- "#e74c3c"
- var(--accent-color)
line_width: 3
points_per_hour: 1
hours_to_show: 72
- type: "custom:mini-graph-card" - type: vertical-stack
animate: true cards:
entities: - type: "custom:mini-graph-card"
- entity: sensor.purifier_humidity animate: true
index: 0 entities:
name: Purifier humidity - entity: sensor.purifier_temperature
- entity: sensor.bedroom_weather_humidity index: 0
index: 1 name: Purifier Temperature
name: Weather humidity - entity: sensor.bedroom_weather_temperature
line_color: index: 1
- "#e74c3c" name: Weather Temperature
- var(--accent-color) line_color:
line_width: 3 - "#e74c3c"
points_per_hour: 1 - var(--accent-color)
hours_to_show: 72 line_width: 3
points_per_hour: 1
hours_to_show: 72
- type: entities - type: "custom:mini-graph-card"
entities: animate: true
- binary_sensor.lumi_lumi_vibration_aq1_b8c6c402_ias_zone entities:
- entity: sensor.purifier_humidity
index: 0
name: Purifier humidity
- entity: sensor.bedroom_weather_humidity
index: 1
name: Weather humidity
line_color:
- "#e74c3c"
- var(--accent-color)
line_width: 3
points_per_hour: 1
hours_to_show: 72
- type: horizontal-stack - type: horizontal-stack
cards: cards:
@@ -12,7 +12,7 @@ automation:
state: "on" state: "on"
- condition: state - condition: state
entity_id: input_select.house_mode entity_id: input_select.house_mode
state: 'day' state: "day"
- condition: or - condition: or
conditions: conditions:
- condition: sun - condition: sun
@@ -39,7 +39,7 @@ automation:
condition: condition:
condition: state condition: state
entity_id: input_select.house_mode entity_id: input_select.house_mode
state: 'day' state: "day"
action: action:
- service: light.turn_off - service: light.turn_off
entity_id: entity_id: