chamberlain2007 / aprilaire-ha

A custom component for Home Assistant to interact with Aprilaire thermostats.
MIT License
12 stars 5 forks source link

8840 - Fresh Air Ventilator and Fan Controls are only Sensors not Switches #38

Closed JDNEU closed 8 months ago

JDNEU commented 8 months ago

Hi, I used this integration with 8840 Aprilaire thermostat. The documentation mentions about the ability to "Trigger and cancel air cleaning and fresh air events". Though the thermostat supports Fan and Fresh Air Ventilator control, integration did not create any switches for it, it created only sensors. How to trigger Fan and Fresh Air Events?

image

chamberlain2007 commented 8 months ago

Hello,

Those would be through services. If you go to the developer tools to the services, you will see a trigger/cancel service for both of fresh air and ventilation, if your device supports it. These are services as it isn't just an on/off state, it is triggering an event (like 3 hours) on the thermostat.

Please let me know if you have additional questions.

JDNEU commented 8 months ago

Ah Great, Thank you for your Help :-). Btw, the python thermostat emulator is super awesome. Thanks

chamberlain2007 commented 8 months ago

Great!

Yes the mock server is really helpful, testing the code against a physical device is a pain because it can only have one connection at a time. My workflow is normally to do the development against the mock server, then do an integration test against my physical device once it's at the release stage.