albaintor / homeassistant_electrolux_status

Get the status from your Electrolux Care devices
MIT License
81 stars 20 forks source link

Titlecase all string values #26

Closed allistermaguire closed 6 months ago

allistermaguire commented 6 months ago

Very small fix for string values that do not contain an _ ie: Appliance State has values of OFF, RUNNING but also End Of Cycle or Ready To Start. After the change, in this example, the first two would now be Off and Running.

Do you also have an idea of how you might want to handle certain values that are ideally enumerated like Program UID, or being able to override the entity names, and I guess maybe locatization? I am just asking as I am willing to contribute. I am guessing there will be a preference not to if possible, as it could become a maintenance nightmare.

albaintor commented 6 months ago

Ok thanks I merged it into main