Introduce magic cube modes

This commit is contained in:
2020-04-25 01:03:12 +03:00
parent a219a4f398
commit f49aed614f
5 changed files with 120 additions and 68 deletions
+12 -17
View File
@@ -52,8 +52,6 @@ cards:
- automation.lighting_adjust_temperature_on_start
- type: divider
- automation.lighting_living_room_adjust_temperature_based_on_time
- automation.lighting_living_room_turn_all_lights_on_on_magic_cube_flip_90
- automation.lighting_living_room_turn_all_lights_off_on_magic_cube_flip_180
- automation.lighting_master_bedroom_toggle_lights_on_bedside_switch_single_click
- automation.lighting_master_bedroom_adjust_temperature_based_on_time
- automation.lighting_kitchen_day_mode_motion_turn_lights_on_after_sunset
@@ -66,21 +64,6 @@ cards:
- type: divider
# Music
- type: custom:fold-entity-row
head:
type: custom:dummy-entity-row
entity: sun.sun
name: Music
icon: mdi:music-note
tap_action: none
entities:
- automation.music_play_pause_on_magic_cube_knock
- automation.music_volume_down_on_magic_cube_rotate_left
- automation.music_volume_up_on_magic_cube_rotate_right
- type: divider
# Media
- type: custom:fold-entity-row
head:
@@ -184,6 +167,18 @@ cards:
- type: divider
# Magic cube
- type: custom:fold-entity-row
head:
entity: input_boolean.magic_cube_enabled
name: Magic Cube
entities:
- automation.magic_cube_mode_change
- automation.magic_cube_lighting_toggle_on_knock
- automation.magic_cube_music_play_pause_on_knock
- automation.magic_cube_music_volume_down_on_rotate_left
- automation.magic_cube_music_volume_up_rotate_right
# Browser mod
- type: custom:fold-entity-row
head:
@@ -21,6 +21,8 @@ cards:
- type: entities
entities:
- input_boolean.magic_cube_enabled
- input_select.magic_cube_mode
- entity: sensor.cube_analog_input
- entity: sensor.cube_multistate_input
- entity: sensor.cube_power