-
-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AttributeError: 'NoneType' object has no attribute 'state' #69
Comments
@IvanUpa Ok, i want to fix this issue finally. but i need your Help because i cant reproduce your issue with my Devices. have you enabled legacy mode in z2m and every of your device? did you notice any different Output in HA in the working and not working devices? is any child lock or window detection enabled in Z2M? the other configs are the Same? same Sensor etc? |
// have you enabled legacy mode in z2m and on each of your devices? // Have you noticed any differences in HA output on working and non-working devices? // Is child lock or window detection enabled in Z2M? // Are the other configurations the same? the same sensor, etc.? |
Tried the solution from #73 |
As others reported, it shoud be fixed by 0.7.9 |
I tried it yesterday. In 0.7.9 it breaks what worked.
0.8.0:
|
@IvanUpa You wrote it breaks whats worked, are you mean it was working on 0.7.8? |
Yes. I attached the configs climate.tvr_bedroom and climate.trv_children. I specifically test only on these entities. |
The line 325 error I solved a while back in my local build, I made it The error on 312 is up to @KartoffelToby to decide, I can't really see why the current_heating_setpoint is send to the same device at startup, but it should at least have a check if the device has that value available. |
@Cycor i used "or" in this section to check if its not ready, anyway it was a thinking mistake i also believe it has to do with the no window sensor checking. @IvanUpa Can you checkout the current master? |
Everything is the same as it was on 0.7.8:
|
@IvanUpa as i said, pls checkout the master: its 0.8.1 beta |
I understand and did as in the screenshot, but yesterday there was 0.7.8.
|
@IvanUpa OK looks like a found the right point, can you reinstall the master, and try it again? Didn't want to push a new version if its not fixed. |
trv_children - it works.
|
It doesn't work :)
There's something with TRV. What else can I do with it? |
@IvanUpa Can you post the configuration for trv_hall and ai_hall? |
The configurations are the same as above, just this time I copied the log from trv_hall, not from trv_bedroom. But the problem is solved. I was almost sure that the problem was these two TRVs and tried all sorts of things, even replaced the Zigbee stack with another one with different firmware. But then I did the following:
Not sure why this worked on both TRVs, since essentially nothing changes. Thank you for all the fixes. |
Continued - #43
Two TVRs work, two don't.
There is an error when starting HA:
It doesn't work:
It works:
Additional Information
Versions
TRV Model: BRT-100-TRV
Z2M Version: 1.22.1-1
HA Version: 2021.11.5
ai_thermostat version: 0.7.8
The text was updated successfully, but these errors were encountered: