albertogeniola / MerossIot

Async Python library for controlling Meross devices
https://albertogeniola.github.io/MerossIot/
MIT License
489 stars 89 forks source link

HA warning - Provided bind_time is not int neither datetime #401

Open roberttco opened 1 month ago

roberttco commented 1 month ago

Home assistant warning for each device - given that bind_time is a union of int and datetime, it would seem HA is being sent None possibly so maybe a logic error ???

HA version 2024.10.1 Meross Clout IOT version: 1.3.3 Local broker version: 0.0.1-alpha49

13 devices

2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.753 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.754 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
2024-10-06 19:52:41.754 WARNING (MainThread) [meross_iot.model.http.device] Provided bind_time is not int neither datetime. It will be ignored.
donations-bot-prod[bot] commented 1 month ago

Donation bot here. Supporters can mark their interest in this issue by adding a comment starting with "+1" (without quotes) or adding the "#supporter_sponsor" keyword (without quotes) in their comments.

You can become a donor by subscribing as Sponsor from the GitHub sponsorship page or from the BuyMeACoffee page.

Issues marked by donors will be labeled accordingly and handled with special care