muart-group / esphome

ESPHome fork for development of the mitsubishi_uart component. Check out the documentation for more info:
https://muart-group.github.io/
10 stars 1 forks source link

Disable state reporting of unsupported elements #20

Open sle118 opened 7 months ago

sle118 commented 7 months ago

Some systems don't have vanes, which lead to unnecessary errors/warnings. There is probably a more elegant way of handling this.

[08:59:55][D][select:015]: 'Vane Position': Sending state 5 (index 5)
[08:59:55][E][select:018]: 'Horizontal Vane Position': invalid state for publish_state(): 
[08:59:55][W][mitsubishi_uart:180]: Vane in unknown horizontal position 0

Thank you!

KazWolfe commented 7 months ago

See also #12 as it’s related. I suspect it’s safe to suppress the warnings, but something is going on with these values.

We also don’t (yet) have the requisite information to auto detect horizontal vane support; something we want to get at some point.