home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.97k stars 31.02k forks source link

LaMetric: No sound when trying to do a custom sound #128188

Open joeblack2k opened 1 month ago

joeblack2k commented 1 month ago

The problem

The problem The API docs from LaMetric indicate that their API supports custom MP3 URLs for notification sounds. When attempting this via notify., an unknown error occurs.

Diagnostics information config_entry-lametric-72e5f4e7d6428d441abd74912cbfaf07.json.txt

Additional information No response

What version of Home Assistant Core has the issue?

latest

What was the last working version of Home Assistant Core?

none

What type of installation are you running?

Home Assistant OS

Integration causing the issue

LaMetric

Link to integration documentation on our website

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

Diagnostics information

No response

Example YAML snippet

action:
  service: notify.my_lametric
  data:
    message: "Er staat iemand voor de deur!"
    data:
      icon_type: "none"
      sound:
        category: "custom"
        id: "https://home.deds.nl/~jacobshomepage/ding-dong-bell-doorbell.mp3"
        repeat: 1
      cycles: 1
      priority: "warning"
      icon: "i555"  # Voeg het gewenste icoon toe

Anything in the logs that might be useful for us?

No response

Additional information

No response

home-assistant[bot] commented 1 month ago

Hey there @robbiet480, @frenck, @bachya, mind taking a look at this issue as it has been labeled with an integration (lametric) you are listed as a code owner for? Thanks!

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

(message by CodeOwnersMention)


lametric documentation lametric source (message by IssueLinks)

joeblack2k commented 3 weeks ago

any update on this ?

pawal commented 2 days ago

What I get is a non-allowed ID when entering an URL. So this is not a bug as such, but a feature that has to be implemented for the "new" Lametric API.