I have enabled logging, edited the xiaomi file and this is from the states page for the switch:
Power consumed: null
Load power: null
friendly_name: Night Light
In use: null
battery_level: 100
icon: mdi:lightbulb-on
Nothing is usable here. Meanwhile as of before the current power value is valid in the mi home app.
And this is the event it creates when switched on: 2017-08-17 16:44:16 DEBUG (Thread-6) [homeassistant.components.xiaomi] PUSH >> <Entity Wall Switch LN_158dxxxxxxxxx: on>: {'channel_0': 'on'}
I finally integrated two of the plugs last night, and noticed the same thing on the Mi app.
I would love to be able to capture daily consumption through HA.
Events of the round wireless button: single, double, hold, long_click_press, long_click_release
Events of the squared wireless button: single, double
Events of the wireless wall switch (single-key): single
Events of the wireless wall switch (double-key): single, single, both
The kettle doesnt allow remote boil using the official app either.
As far as I am aware, I dont think the functionality is there yet. Only setting the temperature for keeping the heat at a specific temperature via the app.
I hope there is an update one day that allows the remote boil function, when that happens, we can be sure someone will connect it to Home Assistant.
Just got a new square button.
Aesthetically good - I prefer to the original (I have 4 of them)
Functionally no where near as good. I hope its a limitation in the gateway firmware and can be changed, and not in the button.
I am completely lost trying to understand HA, probably the installation of hass.io has been so simple that I lack basic knowledge, and the examples in documentation apaprently do not do anything remotely useful and every test requires a reboot of the raspberry pi that takes AGES.
Can anyone please post an example that is just one file configuration.yaml (separation in multiple files with includes I understand that is good and necessary for real, complex, installations, but makes very difficult learning for a newbie) that uses a xiaomi gateway and a xiaomi switch and a xiaomi temperature sensor and as few other things as possible? Maybe with some simple functionality, for example, the gateway emits some sound every XX minutes when the temperature is over certain level, and the light in the gateway toggles on/off everytime the switch is pressed. Or something similar to that.
I cannot find examples that are simple, real/tangible and concise, and the documentation in the xiaomi component in https://home-assistant.io/components/ for xiaomi is almost non-existant