Barma-lej / halandroid

Worx Landroid package for Home Assistant based on Landroid Cloud by @MTrab
MIT License
112 stars 49 forks source link

Mower error sensor #61

Closed Gioway closed 2 years ago

Gioway commented 2 years ago

First of all, thank you for the work done on the update. how can i get the mower error sensor back, i used it as a trigger with the house alarm. a thousand thanks

Barma-lej commented 2 years ago

You can use attributes of vacuum.mower sensor

{{ state_attr('vacuum.mower','error') }} - human string
{{ state_attr('vacuum.mower','error_id') }} - numeric value

In Automation: either

trigger:
  - platform: state
    entity_id: vacuum.mower
    attribute: error

or

trigger:
  - platform: state
    entity_id: vacuum.mower
    attribute: error_id
Gioway commented 2 years ago

works perfectly, thanks