core/tests/components/modbus
jan iversen 2511e1f229
Remove modbus duplicate strings (#48654)
* Reuse HA constants for serial configuration.

Reusing HA consts reduces the need for translation.

Sort/group constants in const.

* Change const name ATTR_* to CONF_*

* Correct wrong import

* ATTR_* for service and CONF_* for schemas.

* Revert change to service call.

* Rename CONF_TEMPERATURE -> ATTR_TEMPERATURE

Avoid possible division problem in set_temperature.
2021-04-04 14:02:47 +02:00
..
__init__.py
conftest.py Allow discovery configuration of modbus platforms (#46591) 2021-03-27 22:48:06 +01:00
test_init.py Remove if/else from modbus test cases (#48514) 2021-03-31 11:20:14 +02:00
test_modbus.py Remove if/else from modbus test cases (#48514) 2021-03-31 11:20:14 +02:00
test_modbus_binary_sensor.py Remove modbus duplicate strings (#48654) 2021-04-04 14:02:47 +02:00
test_modbus_climate.py Remove if/else from modbus test cases (#48514) 2021-03-31 11:20:14 +02:00
test_modbus_cover.py Remove if/else from modbus test cases (#48514) 2021-03-31 11:20:14 +02:00
test_modbus_sensor.py Remove modbus duplicate strings (#48654) 2021-04-04 14:02:47 +02:00
test_modbus_switch.py Remove modbus duplicate strings (#48654) 2021-04-04 14:02:47 +02:00