Robots: manuelt start overrider family_presence stop for støvsuger og plæneklipper
This commit is contained in:
@@ -389,27 +389,27 @@ cards:
|
|||||||
icon: mdi:floor-plan
|
icon: mdi:floor-plan
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: button.press
|
service: script.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: button.roborock_s8_pro_ultra_kokken_bryggers
|
entity_id: script.roborock_manuelt_kokken
|
||||||
|
|
||||||
- type: button
|
- type: button
|
||||||
name: Syd
|
name: Syd
|
||||||
icon: mdi:floor-plan
|
icon: mdi:floor-plan
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: button.press
|
service: script.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: button.roborock_s8_pro_ultra_syd
|
entity_id: script.roborock_manuelt_syd
|
||||||
|
|
||||||
- type: button
|
- type: button
|
||||||
name: Mop
|
name: Mop
|
||||||
icon: mdi:floor-plan
|
icon: mdi:floor-plan
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: button.press
|
service: script.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: button.roborock_s8_pro_ultra_vac_followed_by_mop
|
entity_id: script.roborock_manuelt_mop
|
||||||
|
|
||||||
- type: custom:button-card
|
- type: custom:button-card
|
||||||
entity: vacuum.roborock_s8_pro_ultra
|
entity: vacuum.roborock_s8_pro_ultra
|
||||||
@@ -417,9 +417,9 @@ cards:
|
|||||||
icon: mdi:robot-vacuum
|
icon: mdi:robot-vacuum
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: vacuum.start
|
service: script.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: vacuum.roborock_s8_pro_ultra
|
entity_id: script.roborock_manuelt_start
|
||||||
state:
|
state:
|
||||||
- value: cleaning
|
- value: cleaning
|
||||||
name: Dock
|
name: Dock
|
||||||
@@ -503,9 +503,9 @@ cards:
|
|||||||
icon: mdi:robot-mower
|
icon: mdi:robot-mower
|
||||||
tap_action:
|
tap_action:
|
||||||
action: call-service
|
action: call-service
|
||||||
service: lawn_mower.start_mowing
|
service: script.turn_on
|
||||||
target:
|
target:
|
||||||
entity_id: lawn_mower.husqvarna_automower
|
entity_id: script.ploeneklipper_manuelt_start
|
||||||
state:
|
state:
|
||||||
- value: mowing
|
- value: mowing
|
||||||
name: Stop
|
name: Stop
|
||||||
|
|||||||
@@ -111,6 +111,9 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: lawn_mower.husqvarna_automower
|
entity_id: lawn_mower.husqvarna_automower
|
||||||
state: 'mowing'
|
state: 'mowing'
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.ploeneklipper_manuelt_startet
|
||||||
|
state: 'off'
|
||||||
action:
|
action:
|
||||||
- service: lawn_mower.dock
|
- service: lawn_mower.dock
|
||||||
target:
|
target:
|
||||||
@@ -119,3 +122,14 @@
|
|||||||
data:
|
data:
|
||||||
title: "Plæneklipper"
|
title: "Plæneklipper"
|
||||||
message: "Klipperen er sendt hjem - {{ trigger.to_state.attributes.friendly_name }} kom hjem."
|
message: "Klipperen er sendt hjem - {{ trigger.to_state.attributes.friendly_name }} kom hjem."
|
||||||
|
|
||||||
|
- alias: 'Plæneklipper - reset manuelt startet flag'
|
||||||
|
description: 'Nulstil manuelt-startet flag når klipperen dokker'
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: lawn_mower.husqvarna_automower
|
||||||
|
to: 'docked'
|
||||||
|
action:
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.ploeneklipper_manuelt_startet
|
||||||
|
|||||||
@@ -153,6 +153,9 @@
|
|||||||
- condition: state
|
- condition: state
|
||||||
entity_id: vacuum.roborock_s8_pro_ultra
|
entity_id: vacuum.roborock_s8_pro_ultra
|
||||||
state: "cleaning"
|
state: "cleaning"
|
||||||
|
- condition: state
|
||||||
|
entity_id: input_boolean.roborock_manuelt_startet
|
||||||
|
state: "off"
|
||||||
|
|
||||||
action:
|
action:
|
||||||
- service: vacuum.return_to_base
|
- service: vacuum.return_to_base
|
||||||
@@ -165,6 +168,21 @@
|
|||||||
message: "Rengøring stoppet fordi nogen er kommet hjem."
|
message: "Rengøring stoppet fordi nogen er kommet hjem."
|
||||||
|
|
||||||
|
|
||||||
|
# 🔄 Reset manuelt-startet flag når Roborock dokker
|
||||||
|
- id: roborock_reset_manuelt_flag
|
||||||
|
alias: Roborock - Reset manuelt startet flag
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
- platform: state
|
||||||
|
entity_id: vacuum.roborock_s8_pro_ultra
|
||||||
|
to: "docked"
|
||||||
|
|
||||||
|
action:
|
||||||
|
- service: input_boolean.turn_off
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.roborock_manuelt_startet
|
||||||
|
|
||||||
|
|
||||||
# 🧹 Syd på arbejdsdage
|
# 🧹 Syd på arbejdsdage
|
||||||
- id: roborock_syd_workday_vacuum
|
- id: roborock_syd_workday_vacuum
|
||||||
alias: Roborock støvsug syd på arbejdsdage
|
alias: Roborock støvsug syd på arbejdsdage
|
||||||
|
|||||||
@@ -0,0 +1,7 @@
|
|||||||
|
roborock_manuelt_startet:
|
||||||
|
name: Roborock manuelt startet
|
||||||
|
icon: mdi:robot-vacuum
|
||||||
|
|
||||||
|
ploeneklipper_manuelt_startet:
|
||||||
|
name: Plæneklipper manuelt startet
|
||||||
|
icon: mdi:robot-mower
|
||||||
@@ -0,0 +1,49 @@
|
|||||||
|
roborock_manuelt_kokken:
|
||||||
|
alias: "Roborock: Start køkken/bryggers manuelt"
|
||||||
|
sequence:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.roborock_manuelt_startet
|
||||||
|
- service: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.roborock_s8_pro_ultra_kokken_bryggers
|
||||||
|
|
||||||
|
roborock_manuelt_syd:
|
||||||
|
alias: "Roborock: Start syd manuelt"
|
||||||
|
sequence:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.roborock_manuelt_startet
|
||||||
|
- service: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.roborock_s8_pro_ultra_syd
|
||||||
|
|
||||||
|
roborock_manuelt_mop:
|
||||||
|
alias: "Roborock: Start mop manuelt"
|
||||||
|
sequence:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.roborock_manuelt_startet
|
||||||
|
- service: button.press
|
||||||
|
target:
|
||||||
|
entity_id: button.roborock_s8_pro_ultra_vac_followed_by_mop
|
||||||
|
|
||||||
|
roborock_manuelt_start:
|
||||||
|
alias: "Roborock: Start alt manuelt"
|
||||||
|
sequence:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.roborock_manuelt_startet
|
||||||
|
- service: vacuum.start
|
||||||
|
target:
|
||||||
|
entity_id: vacuum.roborock_s8_pro_ultra
|
||||||
|
|
||||||
|
ploeneklipper_manuelt_start:
|
||||||
|
alias: "Plæneklipper: Start manuelt"
|
||||||
|
sequence:
|
||||||
|
- service: input_boolean.turn_on
|
||||||
|
target:
|
||||||
|
entity_id: input_boolean.ploeneklipper_manuelt_startet
|
||||||
|
- service: lawn_mower.start_mowing
|
||||||
|
target:
|
||||||
|
entity_id: lawn_mower.husqvarna_automower
|
||||||
Reference in New Issue
Block a user