Releases: Pythm/ad-Lightwand
Releases · Pythm/ad-Lightwand
Added bed sensor
What's Changed
- Motion lights turn off after motion ends if manually turned on
- Added 'bed_sensor'. This will wait until bed is exited to turn on light in room when night ended
- Added possibility to set room in off mode with 'off_' + app name.
v1.1.5 More customization and bugfixes
What's Changed
- Added an 'options' section with a list of choices for automations, including 'exclude_from_custom' and 'night_motion'. Input enables the choice.
- Fixed dim rate and added support for increasing brightness with dim rate.
- Added 'prewait_toggle' to wait x seconds before starting toggle lights on change other than motion, to avoid making too many calls on the Z-Wave network at once.
- Revised time logic to better handle times with both solar and clock-based times. When using
orLater
in a time setting, it will not add time to sunset if calculations of adding time were done based on sunrise. - Added logs behind
#
for easy tracking of changes made to times by the app. Search code for: Check if your times are acting as planned. Uncomment the line below that to enable logging on time change. - Recalculates times in automations every day
- Replaced standard delay from turning off TV/media with a new 'delay' option. This was done because one of my TVs reported a 'on' state shortly after being turned off, and then reported an 'off' state again. Use this delay to avoid lights dimming up and down and up again.
- Tried to improve readability even more
- Updated readme
v1.1.4 Some updates to Toggle Lights
What's changed
- Fixed motionlight on toggle lights. Input toggle instead of state for motion change.
- Added toggle_speed to Toggle lights to set time in seconds between each toggle. Supports sub second with 0.x
- Getting light on/off from state in Zigbee2Mqtt, not if brightness != 0
- Fixing not lowering brightness when motion / motion delay
- Minor fixes to exception handling
v1.1.3 Code readability
What's changed
- Bugfixes
- Fixed a problem not turning on light when only 'state: turn_on' is defined in mode and 'adjust' is defined in normal automation
- Tried to improve code readability
v1.1.2 Minor Bugfix
Nothings Changed
Just some minor bugfixes
v1.1.1 Bugfixes and optimalization
What's changed
- Fixed Toggle light when setting brighter light.
- Fixed light turning on when motion detected when night and mode turned to day
- Bugfixes and optimalization
- Do not initialize mqtt plugin unless mqtt sensors/lights is defined
- Do not set light if new light_data is equal to old light_data
v1.1.0 Added support for controlling lights directly over MQTT
What's changed
- Added support for controlling lights directly over MQTT
- Added namespace for both HASS and MQTT plugin. Both has 'default' as default name.
- Subscribes to MQTT topic in cases where your MQTT plugin needs to subscribe
- Added 'listen_sensors' to update light based on state change
- Bugfixes and optimalization
- Added comments to code
Enabled two outdoor lux sensors
##What's changed
- Option to use two out lux sensors configuring additional sensor with _2 in app. Will then update out lux with the sensor with highest value or if other sensor is not updated last 15 minutes.
- Mode 'off' will now not able motion lights.
- Bugfixes and optimalization
Implemented dimrate
What's changed
- Added dimrate option to have light dim with 1 brightness every x minute.
v1.0.1 - Better time control
v1.0.1 update
- Added choice to use persistent storage. E.g. for instances where Appdaemon/HA is running on an SD card to not write more than necessary
- Some minor tweaks on when to check motion constraints
- Fixed finding right automation data when times in automation for normal mode did not correnspond with times in automation for current mode
- Fixed deletion of all times in automations that occur before previous time in list. (Combination of sunset/sunrise and fixed time)
- Added the 'orLater' choice in addition to 'time' in automations to be able to define times more accurate depending on season
- Fixed new mode when motion detected
- Motion is no longer a mode but defined with 'motionlights' the same way as normal automation with some additional configuration options