bezmi / homeassistant_jvc_projector_remote

Custom components for homeassistant
Apache License 2.0
14 stars 11 forks source link

better error handling for missing commands/responses #18

Closed bezmi closed 1 year ago

bezmi commented 1 year ago

At the moment the python library returns a keyError when an unknown (eg, new picture mode that I haven't added yet) response is issued by the projector and causes a stacktrace to be printed. This should be handled by both the python library (maybe a JVCNotImplementedError) and this homeassistant component (tidy log output).

bezmi commented 1 year ago

completed in #19. The upstream library will return the raw ascii response from the projector to this component and log a warning that the reponse couldn't be decoded.