DavidMStraub / homeassistant-homeconnect

Custom component for Home Assistant to connect appliances supporting the Home Connect standard
MIT License
118 stars 29 forks source link

active_program Missing #107

Open danbayliss opened 4 years ago

danbayliss commented 4 years ago

Hi I'm using the home-connect beta integration with my washing machine and I don't seem to have a sensor that has an attribute of 'active_program'. This used to be available so i'm just wondering if this has been removed or an issue with my setup?

I'm still seeing the below errors as mentioned in Issue #96 BinarySensorDevice is deprecated, modify HomeConnectBinarySensor to extend BinarySensorEntity could this be related to the missing 'active_program'?

Also as i'm using HACS i'm still running 1.0.1 that was released 6th May, are you planning to issue another release to make the fixes available to HACs users?

Thanks!

DavidMStraub commented 4 years ago

You can install directly from master in HACS. But beware the current master only works with HA 0.115.

Krocko commented 4 years ago

@DavidMStraub I got this: image

DavidMStraub commented 4 years ago

Oh. I can try changing it to 0.115.0 ...

Krocko commented 4 years ago

It is working now.

danbayliss commented 4 years ago

I've been able to install the master version now, thanks. I'm still missing the sensor that used to have an attribute of 'active_program' so I can see what is running. Any idea why this is missing?

DavidMStraub commented 3 years ago

Sorry I never answered this. There used to be attributes but this has never been merged into HA core (and thus removed from the custom integration as well) since HA didn't like dynamically created attributes. But hard-coding the attribute is of course possible and would be easy to add. A PR would be welcome.