Roborock on error notification

mail@pastecode.io avatar
unknown
yaml
21 days ago
461 B
3
Indexable
Never
alias: Roborock error
description: ""
trigger:
  - platform: state
    entity_id:
      - sensor.pretty_vacuum_error
condition:
  - condition: template
    value_template: >-
      {% if not is_state('sensor.pretty_vacuum_error', ['unavailable', 'none'])
      %}true{% endif %}
action:
  - service: notify.mobile_app_realme_9pro
    metadata: {}
    data:
      title: Robo Pretty error
      message: "{{ states('sensor.pretty_vacuum_error') }}"
mode: single