OpenVoiceOS / ovos-PHAL-plugin-homeassistant

HomeAssistant PHAL Plugin for OpenVoice OS
Apache License 2.0
10 stars 3 forks source link

Raise and handle an exception if qr_code_url is not generated #49

Open mikejgray opened 9 months ago

mikejgray commented 9 months ago
          Nothing is displayed; it probably would be worth raising an exception if we handled those exceptions and present them to the user somehow

_Originally posted by @NeonDaniel in https://github.com/OpenVoiceOS/ovos-PHAL-plugin-homeassistant/pull/48#discussion_r1445580455_

NeonDaniel commented 9 months ago

Not sure how we want to manage this, but some ideas:

mikejgray commented 9 months ago

Do we have any existing examples of plugins speaking? That's usually reserved for skills but easy enough to make happen with a bus message. Curious if we can follow an existing pattern

NeonDaniel commented 9 months ago

Do we have any existing examples of plugins speaking? That's usually reserved for skills but easy enough to make happen with a bus message. Curious if we can follow an existing pattern

Not that I know of; I guess other plugins usually just display a gui page without any audio (i.e. network connection failure)