Open LuisDiazUgena opened 1 year ago
@LuisDiazUgena inside of the card is not actually cards UI - it is HA interface at that point. So if we're to add led control - it can be only on card itself. What is the service called, that changes led mode ? Try toggling it in here: http://ha/developer-tools/service
Hi,
Sorry for the late response. The service is:
xiaomi_miio_fan: fan_set_led_brightness
Hi, @LuisDiazUgena. Have you tried to change the LED brightness from Home Assistant's developer tools? Unfortunately, for my 1c, this didn't work. I'm getting an "Unknown error" when sending the request.
@LuisDiazUgena please confirm that service works. I've missed your reply, apologies for that.
I'm pretty sure this didn't work.
There are some issue about this on integration GitHub page : https://github.com/syssi/xiaomi_fan/issues/189
Also, I have written some quick fix for integration, I'll use it in my fork for the moment.
https://github.com/syssi/xiaomi_fan/pull/236
Hi,
as requested on #117 I'm creating a new issue to add led control on 1C. Atributes list is:
preset_modes: off, Level 1, Level 2, Level 3 oscillating: true percentage: 33 percentage_step: 33.333333333333336 preset_mode: null model: dmaker.fan.1c angle: null raw_speed: 1 delay_off_countdown: 0 ac_power: null oscillate: true direct_speed: null natural_speed: null child_lock: false buzzer: false led_brightness: null use_time: null temperature: null humidity: null battery: null battery_charge: null button_pressed: null led: true battery_state: null mode: normal friendly_name: Xiaomi Fan supported_features: 11
So, led control is available and buzzer are available but not populated. As this is a setting that is not supposed to be changed frecuently, it might be better to have it included inside the card?