Closed os11k closed 1 month ago
Hi, I don't see how I could track this. You have 2 entities for the 2 tanks or just one ?
I think you could use this:
I have an alerts
array property in the status response from the API, obviously empty:
"alerts": [],
And then in the capabilities the available responses are defined like this:
"alerts": {
"access": "read",
"type": "alert",
"values": {
"CHECK_DOOR": {},
"CHECK_DRAIN_FILTER": {},
"CHECK_INLET_TAP": {},
"DETERGENT_OVERDOSING": {},
"DOOR": {},
"EMPTY_WATER_CONTAINER": {},
"MACHINE_RESTART": {},
"POWER_FAILURE": {},
"STEAM_TANK_FULL": {},
"TOP_UP_SALT": {},
"UNBALANCED_LAUNDRY": {},
"UNSTABLE_SUPPLY_VOLTAGE": {},
"WATER_CONTAINER": {},
"WATER_LEAK": {}
}
},
My Washer doesn't have the auto dose feature, but I think it should be available as an alert as well. Maybe OP can show his capabilities result.
So, I guess when there is an alert, a string with one of these values will return in the alerts
array, but it should be tested, however not exactly trivial to test some errors :)
Maybe if there is something similar in the API, you will know how it will visualize in the status, but a string is the most logical.
So I think you can show these alerts as an entity in some way. Not sure if there is an entity that is a list of values. I guess your only options will be:
;
for example in a single entity. Shouldn't be too much alerts at the same time. Hopefully wont be more that 255 chars which is reported to be the max for an entity status text. (Combined length of all alerts above separated with a ;
is 221 chars, and it's not possible to have all at the same time from the looks of it, so it should be ok.)You could choose whatever is easier to implement. Or maybe there is a different approach I can't think of. But either way that should solve the OP problem. Even if it doesn't that is a great feature to have...
P.S. My Washer is AEG if it matters and I also have a Dryer and an Oven and all of them have this alerts
property, so I think it is available for all appliance types.
I see, alerts could be created dynamically according to capabilities and reported data. I would not see them as an entity but as a HA persistent notification
Not my priority though, but feel free to pull a request if you have dev skills and time :-)
Hi!
First, I would like to thank you for your great work on this integration!
I have 2 auto-dose tanks in my Electrolux EW8F169ASA. It seems that if either of those becomes empty, it is not tracked. Is it possible to add this feature?
Hi, I have the exact same machine. I have a sensor for both of the tanks in the itegration. They are "tank areserve" and "tank breserve" They are off when the tank has enough fluid anf they are on when the level is low. Please check if you have it in the sensor list. In the past they had different names.
Tagging https://github.com/albaintor/homeassistant_electrolux_status/issues/48 as similar request
@albaintor How does the below look - I have been working on a fairly extensive rework of the integration and have this almost ready to go
Hi!
First, I would like to thank you for your great work on this integration!
I have 2 auto-dose tanks in my Electrolux EW8F169ASA. It seems that if either of those becomes empty, it is not tracked. Is it possible to add this feature?