mirror of
https://github.com/GeorgeSG/sarah.git
synced 2026-05-05 08:44:24 +00:00
Add test cards
This commit is contained in:
@@ -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,6 +60,21 @@ 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
|
||||||
|
hours_to_show: 168
|
||||||
|
points_per_hour: 0.25
|
||||||
|
# line_width: 2
|
||||||
|
entities:
|
||||||
|
- sensor.dark_sky_precip_intensity
|
||||||
|
- sensor.dark_sky_precip_probability
|
||||||
|
- type: history-graph
|
||||||
|
hours_to_show: 168
|
||||||
|
entities:
|
||||||
|
- sensor.dark_sky_precip
|
||||||
|
- sensor.dark_sky_precip_probability
|
||||||
|
|
||||||
|
- type: vertical-stack
|
||||||
|
cards:
|
||||||
- type: "custom:mini-graph-card"
|
- type: "custom:mini-graph-card"
|
||||||
animate: true
|
animate: true
|
||||||
entities:
|
entities:
|
||||||
@@ -68,10 +107,6 @@ cards:
|
|||||||
points_per_hour: 1
|
points_per_hour: 1
|
||||||
hours_to_show: 72
|
hours_to_show: 72
|
||||||
|
|
||||||
- type: entities
|
|
||||||
entities:
|
|
||||||
- binary_sensor.lumi_lumi_vibration_aq1_b8c6c402_ias_zone
|
|
||||||
|
|
||||||
- type: horizontal-stack
|
- type: horizontal-stack
|
||||||
cards:
|
cards:
|
||||||
- type: button
|
- type: button
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user