mirror of
https://github.com/home-assistant/core
synced 2024-09-03 08:14:07 +02:00
![Stefan Lehmann](/assets/img/avatar_default.png)
* add ads hub, light and switch
* add binary sensor prototype
* switch: use adsvar for connection
* fix some issues with binary sensor
* fix binary sensor
* fix all platforms
* use latest pyads
* fixed error with multiple binary sensors
* add sensor
* add ads sensor
* clean up after shutdown
* ads component with platforms switch, binary_sensor, light, sensor
add locking
poll sensors at startup
update state of ads switch and light
update ads requirements
remove update() from constructors on ads platforms
omit ads coverage
ads catch read error when polling
* add ads service
* add default settings for use_notify and poll_interval
* fix too long line
* Fix style issues
* no pydocstyle errors
* Send and receive native brightness data to ADS device to prevent issues with math.floor reducing brightness -1 at every switch
* Enable non dimmable lights
* remove setting of self._state in switch
* remove polling
* Revert "remove polling"
This reverts commit 7da420f823
.
* add service schema, add links to documentation
* fix naming, cleanup
* re-remove polling
* use async_added_to_hass for setup of callbacks
* fix comment.
* add callbacks for changed values
* use async_add_job for creating device notifications
* set should_poll to False for all platforms
* change should_poll to property
* add service description to services.yaml
* add for brigthness not being None
* put ads component in package
* Remove whitespace
* omit ads package
16 lines
417 B
YAML
16 lines
417 B
YAML
# Describes the format for available ADS services
|
|
|
|
write_data_by_name:
|
|
description: Write a value to the connected ADS device.
|
|
|
|
fields:
|
|
adsvar:
|
|
description: The name of the variable to write to.
|
|
example: '.global_var'
|
|
adstype:
|
|
description: The data type of the variable to write to.
|
|
example: 'int'
|
|
value:
|
|
description: The value to write to the variable.
|
|
example: 1
|