core/homeassistant/components/modbus
jan iversen 8adbc62a6e
Enable homeassistant.update_entity service for all modbus platforms (#49918)
* Rename _update() to update()

A platform neeed a function update(), even though
polling is false, this is due to the service:
homeassistant.update_entity, which calls update()

* Update test harnesss to script testing.

Test homeassistant.update_entity in all platforms.
This call calls update() in the platform to get
a new reading.

* Add reuse parameter.

* Move service call from helper to tests.

* Change run_service_update --> prepare_service_update.

* Remove entity_id parameter.
2021-05-02 10:41:36 +02:00
..
__init__.py Restructure modbus switch, and solve read/write conflicts (#49386) 2021-04-30 16:47:18 +02:00
binary_sensor.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
climate.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
const.py Restructure modbus switch, and solve read/write conflicts (#49386) 2021-04-30 16:47:18 +02:00
cover.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
manifest.json Bump pymodbus version to 2.5.1 (#49401) 2021-04-20 10:43:14 +02:00
modbus.py Catch non payload modbus messages (#49910) 2021-05-02 00:03:52 +02:00
sensor.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
services.yaml
switch.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00