fix: Add helper and automation for Furbot to address mqtt.publish permissions change in 2026.10

This commit is contained in:
2026-11-14 09:24:54 -08:00
parent 9ca5737e01
commit f97c84f2be
+34 -18
View File
@@ -79,6 +79,11 @@ input_boolean:
name: Guest Room name: Guest Room
icon: mdi:account icon: mdi:account
input_button:
furbot_clean_segments:
name: Clean Selected Segments
icon: mdi:play
homeassistant: homeassistant:
customize: customize:
input_boolean.furbot_segment_bathroom: input_boolean.furbot_segment_bathroom:
@@ -146,26 +151,26 @@ template:
script: script:
# Vacuum the bedroom (room ) only with high suction and two passes # Vacuum the bedroom (room ) only with high suction and two passes
furbot_deep_clean_bedroom: # furbot_deep_clean_bedroom:
alias: "Furbot: Deep Clean Bedroom" # alias: "Furbot: Deep Clean Bedroom"
sequence: # sequence:
# Cache the fan setting and reset it when cleaning finishes # # Cache the fan setting and reset it when cleaning finishes
- service: input_text.set_value # - service: input_text.set_value
target: # target:
entity_id: input_text.furbot_last_fan_speed # entity_id: input_text.furbot_last_fan_speed
data: # data:
value: "{{ states('select.valetudo_furbot_fan') }}" # value: "{{ states('select.valetudo_furbot_fan') }}"
# Start Cleaning # # Start Cleaning
- service: mqtt.publish # - service: mqtt.publish
data: # data:
topic: valetudo/furbot/FanSpeedControlCapability/preset/set # topic: valetudo/furbot/FanSpeedControlCapability/preset/set
payload: max # payload: max
- service: mqtt.publish # - service: mqtt.publish
data: # data:
topic: valetudo/furbot/MapSegmentationCapability/clean/set # topic: valetudo/furbot/MapSegmentationCapability/clean/set
payload: '{"segment_ids": ["5"], "iterations": 2}' # payload: '{"segment_ids": ["5"], "iterations": 2}'
# Vacuum Selected Segments # Vacuum Selected Segments
furbot_clean_segments: furbot_clean_segments:
@@ -217,6 +222,17 @@ script:
# Vacuum Automations # Vacuum Automations
automation: automation:
# Run script.furbot_clean_segments (required because of mqtt.publish
# permission restrictions in 2026.10+ 🤦)
- alias: "Furbot: Clean Selected Rooms"
triggers:
- trigger: button.pressed
target:
entity_id: input_button.furbot_clean_segments
action:
- service: script.furbot_clean_segments
target: {}
# Reset the Fan Speed when cleaning is complete (if cached) # Reset the Fan Speed when cleaning is complete (if cached)
- alias: "Furbot: Reset Fan Speed" - alias: "Furbot: Reset Fan Speed"
trigger: trigger: