hass-core/homeassistant/components/modbus
Ben Van Mechelen 861d58f58f Support for Multiple modbus hubs (#19726)
* modbus: support multiple modbus hub

* update data after entities added

* pass hub object to each entity. and save hub to hass.data but not in module level

* add hub_client setup log

* don't update when adding device, because hub_client is not ready right now

* support restore last state

* remove useless func

* compatible with python35

* removed unrelated style changes

* Update flexit for multi-device modbus

* change how hubs are referenced in the configuration

* Also update climate/modbus.py

* Remove unwanted whitescapce

* Defined common constants centrally

* Update DOMAIN in climate and switch components

* Removed unnecessary vol.schema

* Make hub name optional

* Add name property to ModbusHub
2019-02-11 14:00:37 -05:00
..
__init__.py Support for Multiple modbus hubs (#19726) 2019-02-11 14:00:37 -05:00
binary_sensor.py Support for Multiple modbus hubs (#19726) 2019-02-11 14:00:37 -05:00
climate.py Support for Multiple modbus hubs (#19726) 2019-02-11 14:00:37 -05:00
sensor.py Support for Multiple modbus hubs (#19726) 2019-02-11 14:00:37 -05:00
services.yaml Move components to folders (#20774) 2019-02-05 19:31:15 -08:00
switch.py Support for Multiple modbus hubs (#19726) 2019-02-11 14:00:37 -05:00