Tilføj Roborock sug/sug&vask-knapper til Andreas-, Daniel- og Soveværelse-views
This commit is contained in:
@@ -354,3 +354,44 @@ sections:
|
|||||||
- type: tile
|
- type: tile
|
||||||
entity: switch.andreas_motionlys_toggle
|
entity: switch.andreas_motionlys_toggle
|
||||||
name: Motionlys
|
name: Motionlys
|
||||||
|
|
||||||
|
- type: grid
|
||||||
|
cards:
|
||||||
|
- type: heading
|
||||||
|
heading: Støvsuger
|
||||||
|
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:button-card
|
||||||
|
name: Sug
|
||||||
|
icon: mdi:robot-vacuum
|
||||||
|
tap_action:
|
||||||
|
action: perform-action
|
||||||
|
perform_action: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.bryggers_roborock_s8_pro_ultra_andreas_sug
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- padding: 8px 6px
|
||||||
|
- height: 72px
|
||||||
|
icon:
|
||||||
|
- width: 22px
|
||||||
|
name:
|
||||||
|
- font-size: 11px
|
||||||
|
|
||||||
|
- type: custom:button-card
|
||||||
|
name: Sug & vask
|
||||||
|
icon: mdi:robot-vacuum-variant
|
||||||
|
tap_action:
|
||||||
|
action: perform-action
|
||||||
|
perform_action: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.bryggers_roborock_s8_pro_ultra_andreas_sug_vask
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- padding: 8px 6px
|
||||||
|
- height: 72px
|
||||||
|
icon:
|
||||||
|
- width: 22px
|
||||||
|
name:
|
||||||
|
- font-size: 11px
|
||||||
|
|||||||
@@ -358,3 +358,44 @@ sections:
|
|||||||
- type: tile
|
- type: tile
|
||||||
entity: switch.daniel_motionlys_toggle
|
entity: switch.daniel_motionlys_toggle
|
||||||
name: Motionlys
|
name: Motionlys
|
||||||
|
|
||||||
|
- type: grid
|
||||||
|
cards:
|
||||||
|
- type: heading
|
||||||
|
heading: Støvsuger
|
||||||
|
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:button-card
|
||||||
|
name: Sug
|
||||||
|
icon: mdi:robot-vacuum
|
||||||
|
tap_action:
|
||||||
|
action: perform-action
|
||||||
|
perform_action: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.bryggers_roborock_s8_pro_ultra_daniel_sug
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- padding: 8px 6px
|
||||||
|
- height: 72px
|
||||||
|
icon:
|
||||||
|
- width: 22px
|
||||||
|
name:
|
||||||
|
- font-size: 11px
|
||||||
|
|
||||||
|
- type: custom:button-card
|
||||||
|
name: Sug & vask
|
||||||
|
icon: mdi:robot-vacuum-variant
|
||||||
|
tap_action:
|
||||||
|
action: perform-action
|
||||||
|
perform_action: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.bryggers_roborock_s8_pro_ultra_daniel_sug_vask
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- padding: 8px 6px
|
||||||
|
- height: 72px
|
||||||
|
icon:
|
||||||
|
- width: 22px
|
||||||
|
name:
|
||||||
|
- font-size: 11px
|
||||||
|
|||||||
@@ -175,3 +175,44 @@ sections:
|
|||||||
- type: tile
|
- type: tile
|
||||||
entity: binary_sensor.sovevaerelse_vindue
|
entity: binary_sensor.sovevaerelse_vindue
|
||||||
name: Vindue
|
name: Vindue
|
||||||
|
|
||||||
|
- type: grid
|
||||||
|
cards:
|
||||||
|
- type: heading
|
||||||
|
heading: Støvsuger
|
||||||
|
|
||||||
|
- type: horizontal-stack
|
||||||
|
cards:
|
||||||
|
- type: custom:button-card
|
||||||
|
name: Sug
|
||||||
|
icon: mdi:robot-vacuum
|
||||||
|
tap_action:
|
||||||
|
action: perform-action
|
||||||
|
perform_action: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.bryggers_roborock_s8_pro_ultra_sovevaerelse_sug
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- padding: 8px 6px
|
||||||
|
- height: 72px
|
||||||
|
icon:
|
||||||
|
- width: 22px
|
||||||
|
name:
|
||||||
|
- font-size: 11px
|
||||||
|
|
||||||
|
- type: custom:button-card
|
||||||
|
name: Sug & vask
|
||||||
|
icon: mdi:robot-vacuum-variant
|
||||||
|
tap_action:
|
||||||
|
action: perform-action
|
||||||
|
perform_action: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.bryggers_roborock_s8_pro_ultra_sovevaerelse_sug_vask
|
||||||
|
styles:
|
||||||
|
card:
|
||||||
|
- padding: 8px 6px
|
||||||
|
- height: 72px
|
||||||
|
icon:
|
||||||
|
- width: 22px
|
||||||
|
name:
|
||||||
|
- font-size: 11px
|
||||||
|
|||||||
@@ -5,5 +5,5 @@ panel: true
|
|||||||
|
|
||||||
cards:
|
cards:
|
||||||
- type: iframe
|
- type: iframe
|
||||||
url: /local/snapshots/indkorsel_loader.html?v=20260730162916
|
url: /local/snapshots/indkorsel_loader.html?v=20260808105147
|
||||||
aspect_ratio: 100%
|
aspect_ratio: 100%
|
||||||
|
|||||||
@@ -53,31 +53,6 @@
|
|||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
entity_id: switch.sonos_alarm_445
|
entity_id: switch.sonos_alarm_445
|
||||||
|
|
||||||
- alias: 'Turn on alarms Andreas Saturdays'
|
|
||||||
trigger:
|
|
||||||
platform: time
|
|
||||||
at: '20:05:30'
|
|
||||||
condition:
|
|
||||||
- condition: or
|
|
||||||
conditions:
|
|
||||||
- condition: template
|
|
||||||
value_template: '{{ now().date() | string != "2022-12-24" }}'
|
|
||||||
- condition: template
|
|
||||||
value_template: '{{ now().date() | string != "2022-12-31" }}'
|
|
||||||
- condition: template
|
|
||||||
value_template: "{{ not is_state('input_select.andreas_status', 'syg') }}"
|
|
||||||
action:
|
|
||||||
- service: homeassistant.turn_on
|
|
||||||
entity_id: switch.sonos_alarm_1874
|
|
||||||
|
|
||||||
- alias: 'Turn off alarms Andreas Saturdays'
|
|
||||||
trigger:
|
|
||||||
platform: time
|
|
||||||
at: '20:00:30'
|
|
||||||
action:
|
|
||||||
- service: homeassistant.turn_off
|
|
||||||
entity_id: switch.sonos_alarm_1874
|
|
||||||
|
|
||||||
- alias: 'Turn on alarms Daniel'
|
- alias: 'Turn on alarms Daniel'
|
||||||
trigger:
|
trigger:
|
||||||
platform: time
|
platform: time
|
||||||
@@ -105,59 +80,6 @@
|
|||||||
- service: homeassistant.turn_off
|
- service: homeassistant.turn_off
|
||||||
entity_id: switch.sonos_alarm_377
|
entity_id: switch.sonos_alarm_377
|
||||||
|
|
||||||
- alias: 'Turn on alarms Daniel Afsted'
|
|
||||||
trigger:
|
|
||||||
platform: time
|
|
||||||
at: '20:07:10'
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.arbejdsdagimorgen
|
|
||||||
state: 'on'
|
|
||||||
- condition: template
|
|
||||||
value_template: "{{ not is_state('input_select.daniel_status', 'syg') }}"
|
|
||||||
action:
|
|
||||||
- service: homeassistant.turn_on
|
|
||||||
entity_id: switch.sonos_alarm_1894
|
|
||||||
|
|
||||||
|
|
||||||
- alias: 'Turn off alarms Daniel Afsted'
|
|
||||||
trigger:
|
|
||||||
platform: time
|
|
||||||
at: '20:01:10'
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.arbejdsdagimorgen
|
|
||||||
state: 'off'
|
|
||||||
action:
|
|
||||||
- service: homeassistant.turn_off
|
|
||||||
entity_id: switch.sonos_alarm_1894
|
|
||||||
|
|
||||||
- alias: 'Turn on alarms Daniel Mondays and Fridays'
|
|
||||||
trigger:
|
|
||||||
platform: time
|
|
||||||
at: '20:06:20'
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.arbejdsdagimorgen
|
|
||||||
state: 'on'
|
|
||||||
- condition: template
|
|
||||||
value_template: "{{ not is_state('input_select.daniel_status', 'syg') }}"
|
|
||||||
action:
|
|
||||||
- service: homeassistant.turn_on
|
|
||||||
entity_id: switch.sonos_alarm_2273
|
|
||||||
|
|
||||||
- alias: 'Turn off alarms Daniel Mondays and Fridays'
|
|
||||||
trigger:
|
|
||||||
platform: time
|
|
||||||
at: '20:00:43'
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: binary_sensor.arbejdsdagimorgen
|
|
||||||
state: 'off'
|
|
||||||
action:
|
|
||||||
- service: homeassistant.turn_off
|
|
||||||
entity_id: switch.sonos_alarm_2273
|
|
||||||
|
|
||||||
- alias: 'Turn on alarms Daniel Saturdays'
|
- alias: 'Turn on alarms Daniel Saturdays'
|
||||||
trigger:
|
trigger:
|
||||||
platform: time
|
platform: time
|
||||||
|
|||||||
@@ -23,8 +23,6 @@
|
|||||||
target:
|
target:
|
||||||
entity_id:
|
entity_id:
|
||||||
- switch.sonos_alarm_377 # Daniel hverdagsalarm
|
- switch.sonos_alarm_377 # Daniel hverdagsalarm
|
||||||
- switch.sonos_alarm_1894 # Daniel afsted
|
|
||||||
- switch.sonos_alarm_2273 # Daniel man/fre
|
|
||||||
- switch.sonos_alarm_3471 # Daniel lørdag
|
- switch.sonos_alarm_3471 # Daniel lørdag
|
||||||
|
|
||||||
- alias: "Syg - Daniel - genaktiver alarmer"
|
- alias: "Syg - Daniel - genaktiver alarmer"
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
{"count": 7, "items": [{"date": "2026-08-05", "recipe": {"name": "One pot french onion pasta", "slug": "one-pot-french-onion-pasta"}}, {"date": "2026-08-04", "recipe": {"name": "P\u00f8lsegryde", "slug": "polsegryde"}}, {"date": "2026-08-03", "recipe": {"name": "One pot french onion pasta", "slug": "one-pot-french-onion-pasta"}}, {"date": "2026-08-02", "recipe": {"name": "P\u00f8lsegryde", "slug": "polsegryde"}}, {"date": "2026-08-01", "recipe": {"name": "Pho nudelsuppe med asiatisk ribbensteg", "slug": "pho-nudelsuppe-med-asiatisk-ribbensteg"}}, {"date": "2026-07-31", "recipe": {"name": "Banh Mi Burger", "slug": "banh-mi-burger"}}, {"date": "2026-07-30", "recipe": {"name": "Tex Mex Salat", "slug": "tex-mex-salat"}}]}
|
{"count": 7, "items": [{"date": "2026-08-14", "recipe": {"name": "Salat med and og mango", "slug": "salat-med-and-og-mango"}}, {"date": "2026-08-13", "recipe": {"name": "Ovnbagt \u00e6ggekage med gr\u00f8nt", "slug": "ovnbagt-aeggekage-med-gront"}}, {"date": "2026-08-12", "recipe": {"name": "Nem k\u00f8dsauce med gr\u00f8ntsager", "slug": "nem-kodsauce-med-grontsager"}}, {"date": "2026-08-11", "recipe": {"name": "Tortillas med krydret oksek\u00f8d", "slug": "tortillas-med-krydret-oksekod"}}, {"date": "2026-08-10", "recipe": {"name": "Nem k\u00f8dsauce med gr\u00f8ntsager", "slug": "nem-kodsauce-med-grontsager"}}, {"date": "2026-08-09", "recipe": {"name": "Tortillas med krydret oksek\u00f8d", "slug": "tortillas-med-krydret-oksekod"}}, {"date": "2026-08-08", "recipe": {"name": "Pasta med laks og fl\u00f8de", "slug": "pasta-med-laks-og-flode"}}]}
|
||||||
Reference in New Issue
Block a user