vincentwolsink / home_assistant_micronova_agua_iot

Home Assistant integration controlling heating devices connected via the Agua IOT platform of Micronova
Apache License 2.0
25 stars 15 forks source link

Additional settings for mypiazetta #27

Closed ethanmes closed 12 months ago

ethanmes commented 1 year ago

Hello,

Is it possible to access these types of settings (energy saving, night mode,...) on the stove like this user on jeedom with the same plugin?

Thanks in advance

Ethan.

vincentwolsink commented 1 year ago

Hi, can you add a link to what you are referring to?

ethanmes commented 1 year ago

Sorry, I've completely forgotten the link (in french)

https://community.jeedom.com/t/pilotage-de-mypiazzetta-avec-le-plugin-poele-agua-iot/91413

vincentwolsink commented 1 year ago

If you attach the HA diagnostics file for your stove here and tell me which settings you would like to adjust specifically, I can take a look.

ethanmes commented 1 year ago

Hello,

I want to adjust the energy saving (start and stop) and the natural mode.

Here the file : config_entry-aguaiot-b7d56dc5345da7541780671c914a2e6c.json.txt

I deleted some information because I didn't know if it was linked to my piazetta account.

Thanks a lot.

vincentwolsink commented 1 year ago

Please try v0.1.8-beta1

ethanmes commented 1 year ago

Hello,

Thanks a lot. It works for the energy saving start and stop.

Capture d’écran 2023-08-24 à 22 36 27

For natural mode, I have the switch, the state is the right one (if I enable/disable natural mode in the mypiazetta app, it updates in HA) but I can't switch on/off the mode in HA, I get this error:

Echec de l'appel du service switch/turn_on. name 'boolean' is not defined

ethanmes commented 1 year ago

And this error if i disable the natural mode :

Echec de l'appel du service switch/turn_off. name 'boolean' is not defined

vincentwolsink commented 1 year ago

Should be fixed in v0.1.8-beta2

ethanmes commented 1 year ago

I have now this error :

Échec de l'appel du service switch/turn_on. Blocking calls must be done in the executor or a separate thread; Use await hass.async_add_executor_job(); at custom_components/aguaiot/switch.py, line 76: setattr(self._device, self.entity_description.key, True)

vincentwolsink commented 1 year ago

I will take a closer look later. Since my stove doesn’t have the features it is a bit hard to test. But i will fix it.

ethanmes commented 1 year ago

Ok no problem, thank you ! :)

vincentwolsink commented 12 months ago

Fix: v0.1.8-beta3

ethanmes commented 12 months ago

Thank you very much, everything works!