home-assistant / home-assistant.io

:blue_book: Home Assistant User documentation
https://www.home-assistant.io
Other
4.56k stars 7.09k forks source link

Pet names unclear, error message not helpful #33469

Open tfischer4765 opened 1 week ago

tfischer4765 commented 1 week ago

Feedback

I'm getting the error value must be one of ['999.202111200094', 'Canossa ', 'Kitty '] for dictionary value @ data['pet_name']. Got None

for the following integration:

if:
  - condition: state
    entity_id: input_boolean.kitty_indoor
    state: "on"
then:
  - service: surepetcare.set_pet_location
    data:
      pet_name: Kitty
      location: Inside
  - service: tts.cloud_say
    metadata: {}
    data:
      cache: false
      entity_id: media_player.arbeitszimmer
      message: kitty coming in
else:
  - service: surepetcare.set_pet_location
    data:
      pet_name: Kitty
      location: Outside
  - service: tts.cloud_say
    metadata: {}
    data:
      cache: false
      message: kitty going out
      entity_id: media_player.arbeitszimmer

which is created using the online editor.

Please make it clear in the documentation in what format the pet name must be supplied. or alternatively, allow for the unique pet-id to be used.

URL

https://www.home-assistant.io/integrations/surepetcare/

Version

2024.6.4

Additional information

No response

home-assistant[bot] commented 1 week ago

Hey there @benleb, @danielhiversen, mind taking a look at this feedback as it has been labeled with an integration (surepetcare) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `surepetcare` can trigger bot actions by commenting: - `@home-assistant close` Closes the feedback. - `@home-assistant rename Awesome new title` Renames the feedback. - `@home-assistant reopen` Reopen the feedback. - `@home-assistant unassign surepetcare` Removes the current integration label and assignees on the feedback, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information) to the feedback. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information) on the feedback.