Releases: JamesSwift/localbytes-plug-pm
v1.8.0 Substitutions
This release pulls in some improvements from https://github.com/LocalBytes/esphome-localbytes-plug and fixes a bug where setting the default state of the relay also affected the default state of the "Disable LED" and "Disable button" virtual switches. You can now set the default state of these through substitutions:
substitutions:
# Default Relay State
# Options: `RESTORE_DEFAULT_OFF`, `RESTORE_DEFAULT_ON`, `ALWAYS_ON` & `ALWAYS_OFF`
default_state: "RESTORE_DEFAULT_OFF"
# Default state of the "disable led" virtual switch
disable_led_default_state: "RESTORE_DEFAULT_OFF"
# Default state of the "disable button"/child-lock virtual switch
disable_button_default_state: "RESTORE_DEFAULT_OFF"
Thanks to @edwardpoll for mentioning this.
v1.6.3
This release fixes a bug where the blue LED would be erroneously switched on after a power cycle, even though the disable_led
switch was enabled. This release also simplifies the start-up behaviour of the led to just be either on or off (no flashing).
v1.6.2
ESPHome 2023.7.0 has a breaking change which removes the template switch restore_state
option. This release fixes this incompatibility.
v1.6.1
Fixed an issue where the main switch was being named switch.${friendly_name}_${friendly_name}
instead of just switch.${friendly_name}
v1.6.0
This release implements the new friendly_name
option in ESPHome (See: https://esphome.io/changelog/2023.2.0.html?highlight=friendly_name ).
It also updates the build files to take advantage of the new feature where credentials entered via the captive portal are remembered even when updated firmware is flashed to the device (meaning you no longer need to enter credentials via yaml).
v1.5.0
Added a feature to allow you to disable the physical button on the smart plug. In this mode, the plug can still be toggled via home assistant/web, but when the physical button is pressed nothing will happen. This is ideal as a "child lock".
Wifi power boost
v1.4.2 version bump
v1.4.1
v1.4.0
Added the ability to disable/turn off the blue LED, as it can be annoying at night. You can do this by pressing and holding the button for 3 seconds, or by toggling the "Disable LED" switch in home assistant. With this feature you could write an automation to disable all your plugs' LEDs at night and enable them again in the daytime if you wished.
v1.3.0
The project has been moved from https://github.com/JamesSwift/localbytes-plug-pm-v2 to https://github.com/JamesSwift/localbytes-plug-pm as it now supports both versions of the plug.