26 Commits
Author SHA1 Message Date
GrahamJB1 8bff95014c Add modbus min/max values (#86131)
* modbus min/max values
Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-02-02 22:29:03 +01:00
Franck Nijhof baef267f33 String formatting and max line length - Part 3 (#84394) 2022-12-22 13:35:47 +01:00
jan iversen 0f580af1d3 Correct switch verify to handle discret_read in Modbus (#66890) 2022-02-21 19:15:03 +01:00
TatharandFranck Nijhof 16e5d7abe1 Add unique_id to modbus entities (#64634)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-01-26 10:37:15 +01:00
Marc Mueller 887d04be60 Use assignment expressions 32 (#58716) 2021-10-30 16:30:13 +02:00
jan iversen cca7da77ad Report modbus buffer too small or too big to unpack (#57838) 2021-10-20 15:22:01 -07:00
jan iversen 4417ffb407 COnvert DATA_TYPE to enum. (#57699) 2021-10-15 07:09:59 +02:00
Marc Mueller d51487f82a Import Callable from collections.abc (3) (#56777) 2021-09-29 16:19:06 +02:00
jan iversen a84e86ff13 Strictly type modbus base_platform.py (#56343) 2021-09-20 14:59:30 +02:00
jan iversenandPaulus Schoutsen 6947912fa9 Modbus entity update does not occur until after scan_interval (#56221)
* Secure update is called when integration is started.

* Review comments.

* Update homeassistant/components/modbus/base_platform.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* Update homeassistant/components/modbus/base_platform.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-09-18 08:57:27 +02:00
jan iversenandMartin Hjelmare aaa62dadec Add service to stop/restart modbus (#55599)
* Add service to stop/restart modbus.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-14 09:42:50 +02:00
jan iversen d60f5e1721 Add missing convert to fan/light/switch modbus platform (#55203) 2021-08-25 21:02:06 +02:00
jan iversen d4064e7044 Cancel entity timers. (#55141) 2021-08-25 14:49:37 +02:00
jan iversen 33f660118f Add lazy_error_count to modbus (#54412)
* Add lazy_error_count.

* Use -=

* Review comments.
2021-08-21 15:49:50 +02:00
jan iversen bec42b74fe Solve switch/verify register type convert problem in modbus (#54645) 2021-08-15 19:57:37 -07:00
jan iversen 02459e6813 Convert last properties in modbus to _attr_variable (#53919) 2021-08-08 23:23:21 +02:00
jan iversen b2fffdd13e Add temporary fix to modbus to solve upstream problem (#53857) 2021-08-04 17:03:31 -07:00
Marc Mueller 0815eede4b Replace lists with tuples (2) (#53685) 2021-07-30 01:20:03 +02:00
jan iversen cfb0def718 Change integration modbus to use _attr variables (#53511) 2021-07-26 21:20:34 +02:00
jan iversen 2e2b340b1e Set modbus entity to non-available unless scan_interval=0 (#53155) 2021-07-20 22:48:02 -07:00
jan iversen 19a282255b Remove duplicate functions in modbus climate/sensor. (#53141)
Convert all data types correctly for climate.
2021-07-19 23:52:58 -05:00
jan iversen 12ac666459 only allow one active call in each platform. (#52823) 2021-07-13 21:45:42 +02:00
jan iversen 646862ec96 Add array write to turn_on/off in modbus switch/fan/light (#52582) 2021-07-12 11:22:53 -07:00
jan iversen 8721675218 Use BaseSwitch class in modbus switch/fan/light (#51031) 2021-05-24 20:13:25 +02:00
jan iversen be13a73db8 Allow manual scan and add delay in switch verify. (#50974) 2021-05-24 12:59:55 +02:00
jan iversen c650deef98 Add base class for all modbus platforms (#50878)
* Add base for all platforms.

* Please pylint.
2021-05-20 16:56:11 +02:00