Closed purcell-lab closed 2 years ago
Hello @purcell-lab , Thank you for signaling this...my tests configuration is lame to say the less... I'd say this is likely impairing the ability to correctly discover meross devices through the dhcp protocol integration. The error itself would not be critical since it's only related to a debug log message. Nevertheless, even if debug logging is not activated the code itself will fail at runtime and interrupt the dhcp discovery process so this is very annoying. At the time I still can't get the reason behind: I've seen HA core received some 'strict typing' in latest devs that are, at least in this case, impacting what should be a relatively failsafe json.dumps I still can't get if this is a 'transient' bug or something which I should take care of (guess the latter would be safer) Nevertheless I'll definitely patch this annoying line of logging since it would anyway be lame to crash because of a 'malformed' log message
Version of the custom_component
v2.4.2 - current version
Configuration
System Health
Home Assistant Community Store
GitHub API | ok -- | -- Github API Calls Remaining | 4783 Installed Version | 1.18.0 Stage | running Available Repositories | 976 Installed Repositories | 30Home Assistant Cloud
logged_in | true -- | -- subscription_expiration | December 15, 2021, 11:00 AM relayer_connected | true remote_enabled | true remote_connected | true alexa_enabled | false google_enabled | true remote_server | ap-southeast-1-0.ui.nabu.casa can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | pendingHome Assistant Supervisor
host_os | Ubuntu 20.04.3 LTS -- | -- update_channel | beta supervisor_version | supervisor-2021.12.0 docker_version | 20.10.7 disk_total | 114.4 GB disk_used | 53.9 GB healthy | true supported | failed to load: Unsupported supervisor_api | ok version_api | ok installed_addons | Studio Code Server (3.7.0), Check Home Assistant configuration (3.9.0), Mosquitto broker (6.0.1), Terminal & SSH (9.2.1), File editor (5.3.3)Lovelace
dashboards | 2 -- | -- resources | 8 views | 11 mode | storageDescribe the bug
Error message in the logs, functionality appears to be unaffected.
Debug log