-
-
Notifications
You must be signed in to change notification settings - Fork 37.8k
Allow discovery configuration of modbus platforms #46591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
MartinHjelmare
merged 28 commits into
home-assistant:dev
from
janiversen:test_new_config
Mar 27, 2021
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
925119c
Change modbus configuration to new style.
janiversen 37310bd
Update discovery_info configuration for binary_sensor.
janiversen 29e6160
Update discovery_info configuration for sensor.
janiversen bbe9b97
Update discovery_info configuration for switch.
janiversen c0b554e
Review comments.
janiversen 6fad3fa
update due to change in core
janiversen 98adf5f
flake8 problem.
janiversen 42d11db
Correct log message.
janiversen 466ef8e
add should_poll property.
janiversen daaff98
Fix polling for Modbus binary sensor
vzahradnik 6cd6b24
Fix polling for Modbus sensor
vzahradnik ebf1c91
Fix polling for Modbus switch
vzahradnik 15ca903
Fix switch.
janiversen d9c67d6
Fix pytest errors.
janiversen c5ca838
Update homeassistant/components/modbus/binary_sensor.py
janiversen 33e34d4
Update homeassistant/components/modbus/binary_sensor.py
janiversen d5de0d1
Update homeassistant/components/modbus/modbus.py
janiversen 3fa3848
Update homeassistant/components/modbus/sensor.py
janiversen a753194
Update homeassistant/components/modbus/sensor.py
janiversen ead49cf
Update homeassistant/components/modbus/sensor.py
janiversen f4835d2
Update homeassistant/components/modbus/switch.py
janiversen ba84387
Update homeassistant/components/modbus/switch.py
janiversen f73dc6a
Update homeassistant/components/modbus/switch.py
janiversen 416a3d1
ToogleEntity -> SwitchEntity and add abastract
janiversen 909bf51
Update homeassistant/components/modbus/switch.py
janiversen a3f8bab
Update tests/components/modbus/test_init.py
janiversen 58e4f7f
removed if/else in test.
janiversen 1f7ace8
Remove other if.
janiversen File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.