-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add auto_off, led_disable_night, consumer_overload, consumer_connecte…
…d, power_outage_memory for Xiaomi ZNCZ04LM plug (#1874) * On branch lumi.plug.mmeu01.part-two there is a next step of extending functionality of lumi.plug.mmeu01, i.e. ZNCZ04LM: New states: auto_off - auto off state, to swith the plug off in case of low level of consumption; consumer_connected - show the status of connection of the customer to the plug; led_disabled - show the state of the led disable feature; power_outage_memory - show the state of power outage memory feature; New switches: auto_off - auto off feature, to swith the plug off in case of low level of consumption; led_disabled - feature to set led disabled; power_outage_memory - feature to set power outage memory enabled or disabled; Changes to be committed: modified: converters/fromZigbee.js modified: converters/toZigbee.js modified: devices.js modified: lib/exposes.js * On branch lumi.plug.mmeu01.part-two Some description of a states tunig Changes to be committed: modified: lib/exposes.js * On branch lumi.plug.mmeu01.part-two applying Koenkk recommendations: - removed extra logging; - led_disabled renamed to led-disabled_night; - added previously empty ppayload - consumer_overload Changes to be committed: modified: converters/fromZigbee.js modified: converters/toZigbee.js modified: devices.js modified: lib/exposes.js * Fix lint typo * On branch lumi.plug.mmeu01.part-two applying Koenkk's recommendation Changed access.STATE to access.STATE_SET for changable states: - auto_off - power_outage_memory - led_disabled_night Changes to be committed: modified: lib/exposes.js * replace case constuction by if ... if else * fix typo in debug log * On branch lumi.plug.mmeu01.part-two there is a fix for consumer_overload In fact it is a value of W, not a boolean one Changes to be committed: modified: converters/fromZigbee.js modified: lib/exposes.js * Update exposes.js * Update devices.js * Update toZigbee.js * Update devices.js Co-authored-by: Koen Kanters <koenkanters94@gmail.com>
- Loading branch information
1 parent
77d778a
commit e258710
Showing
4 changed files
with
48 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters