Closed juliekoubova closed 1 year ago
After a quick test, 8C mode seems to work perfectly for me. My device doesn't, however, have the AirPurifier/PURE mode.
As for the concerns: I don't know how the Toshiba AC mobile app or remote deal with this situation, but I'd think this should work in the same way as they've set it up. In the app, if the device is set to Dry or Cool, 8C mode is unavailable and cannot be toggled. If 8C mode is on when the device is moved to any other state that can't co-exist with it, it turns off but is remembered when going back to a supported operating mode (Dry => Heat, 8C is back on). The remembering part might be done on the AC unit too, since the same seems to be true when using the actual IR remote.
Can't test how Ion/Pure mode works with that, though.
I'd rather not have the switch do multiple things sometimes (as in, if we're on Dry mode and I toggle the 8C switch, I wouldn't want it to turn off Dry mode and then turn on 8C Mode)
@juliekoubova Can you change the base branch of this PR to your other one? So we can see only the changes related to this feature?
I've tested this branch, everything is working fine from the few tests I did.
The only thing not working (but probably because it's not yet implemented is merit_a_feature: HIGH_POWER.
The only thing not working (but probably because it's not yet implemented is merit_a_feature: HIGH_POWER.
yup I haven't added HIGH_POWER and ECO yet. Should we add it as another select? That would be easiest and it would make most sense IMO. You can have Power 50 + HIGH_POWER, for example, even though I have no idea what it ends up doing.
Hmh, had some issues with the PyPI library not getting properly installed for some reason, but a quick uninstall, reboot and reinstall later it's up.
Outdoor temperature is reported as it should be, outdoor unit silent mode, fireplace mode and 8C mode all work as they should and the switches and select lists get disabled when the climate control is in a non-supported mode for them like "Dry".
Thumbs up from me!
The only thing not working (but probably because it's not yet implemented is merit_a_feature: HIGH_POWER.
yup I haven't added HIGH_POWER and ECO yet. Should we add it as another select? That would be easiest and it would make most sense IMO. You can have Power 50 + HIGH_POWER, for example, even though I have no idea what it ends up doing.
On my unit : High Power, ECO and Outdoor Silent Unit disable each other. You can only select one of those (but you can select Power 50% + High Power).
8°C and Fireplace are also working on the same level, you can only have one or the other.
@juliekoubova Can you change the base branch of this PR to your other one? So we can see only the changes related to this feature?
I'm not sure if it's possible to change the PR, that branch is in my fork. The diff from that branch is here:
sorry i am still not familar with how github presents PRs. i see some of the comments are still unresolved. in case you are waiting for me to click merge, please let me know ;)
The only unresolved conversation is regarding class-typing, and the way it is is fine in my opinion. And regardless, I think that's the kind of change that would be better off in it's own branch.
Yep if @tetienne is okay with this, I think we can merge it :)
thank you very much for the contribution and your time that you put into this. i'll try it out as soon as possible
thank you!
⚠️ Includes changes from #123
EntityDescription
sToshibaClimate
entity to usehas_entity_name
=True
(False
is deprecated). The entity always had an empty name andunique_id
isn't changing, so it shouldn't be a breaking change.has_entity_name
and have translated names. also Ppower consumption sensor doesn't yet, mainly because my units don't have it and I don't know how it's called in German.Concern: Unavailable Switches
SUMMARY: Going with unavailable, seems safer and less weird if the switch sometimes did multiple things. It shouldn't be a problem to set the correct mode and then the switch in automations and scripts, I hope.