Bre77 / myair

Home Assistant Climate Integration for MyAir, a ducted air conditioning controller that runs on a wall mounted Android tablet.
10 stars 3 forks source link

When making a change to system - "Cannot write to closing transport" #3

Closed HDC67 closed 4 years ago

HDC67 commented 4 years ago

When changing a zone temperature, mode etc, the change is correctly sent to the system but the integration fails. Does it try to update immediately after setting?

Temporarily until the next regular poll, all the entities show as unknown. Once the regular poll occurs everything is OK again.

2020-08-11 09:54:33 DEBUG (MainThread) [custom_components.myair] Finished fetching MyAir data in 0.074 seconds
2020-08-11 09:55:03 DEBUG (MainThread) [custom_components.myair] Finished fetching MyAir data in 0.016 seconds
2020-08-11 09:55:33 DEBUG (MainThread) [custom_components.myair] Finished fetching MyAir data in 0.077 seconds
2020-08-11 09:55:57 ERROR (MainThread) [custom_components.myair] Error fetching MyAir data: Error getting MyAir data: Cannot write to closing transport
2020-08-11 09:55:57 DEBUG (MainThread) [custom_components.myair] Finished fetching MyAir data in 0.003 seconds
Bre77 commented 4 years ago

This is fixed in my next release.

Bre77 commented 4 years ago

Fixed in master branch. Please remove your config from Configuration.yaml as the integration now uses Config Flow in the UI.