core/tests/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 Fix 64-bit modbus sensor register reads (#25672) 2019-08-09 17:03:12 -07:00
conftest.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
test_init.py Complete modbus device response tests (#49633) 2021-04-29 18:06:56 +02:00
test_modbus_binary_sensor.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
test_modbus_climate.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
test_modbus_cover.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
test_modbus_sensor.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00
test_modbus_switch.py Enable homeassistant.update_entity service for all modbus platforms (#49918) 2021-05-02 10:41:36 +02:00