OpenVoiceOS / ovos-PHAL-plugin-homeassistant

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

Handle device addition/removal events on the WS connection #22

Open NeonDaniel opened 1 year ago

NeonDaniel commented 1 year ago
          This may have to become part of a larger effort. Right now `self.registered_devices` is a list of device classes, which makes it difficult to search easily. Also currently the list of devices is only built on plugin init, so you'd have to restart PHAL to see new or removed devices. New issue?

_Originally posted by @mikejgray in https://github.com/OpenVoiceOS/ovos-PHAL-plugin-homeassistant/pull/20#discussion_r1207621082_