Thanks for sharing, this validated what I had. I actually ended up splitting my configuration.yaml into a sub sensor.yaml as recommended and now everything is working via the local API.
Thanks again and thank you @richieframe for writing this all out originally. I really love the HA community!
Thanks @richieframe for sharing your code! Using this I have been able to set it up. I did notice on the first day that the connection got interrupted twice which resulted in some data loss. The last 2 days it has been running fine however. Power consumption is pretty decent with 1.2 wattage.
I have made a step-by-step walkthrough for anyone who is interested. This covers all the steps Iāve taken including factory resetting the device and enabling the local API in the iOS app. Iāve used the RESTful sensor by the way, only found out later that the integration was already included in HA.
Feel free to provide feedback and/or ask questions!
Can someone tell me how quickly the temperature readings update in the Awair? Wondering if I can use it to control a roomās heater based on temp readings. I have a zwave sensor now that updates quite quickly but would prefer to consolidate devices.
Hey @richieframe
Iām thinking about getting an awair element v2 to use it with local api in Home Assistant only. But Iāve just found out about the companyās bad reputation due to dropping support for the V1 devices.
So I wanted to know what happens, if you block the internet access of the device. Does it still shows the clock?
(The V1 devices are not able of displaying the time, because the made a breaking change to the time API endpointā¦)
not sure if this is the right place for this question, But yes it still displays the clock when blocked; even after restart. but i cant tell you for how long the time will by correct.