This repository has been archived by the owner on Sep 14, 2023. It is now read-only.
generated from ludeeus/integration_blueprint
-
Notifications
You must be signed in to change notification settings - Fork 6
Set state class for Position & Up_Down sensors #31
Merged
FreshlyBrewedCode
merged 19 commits into
FreshlyBrewedCode:master
from
Taraman17:master
Mar 14, 2023
Merged
Set state class for Position & Up_Down sensors #31
FreshlyBrewedCode
merged 19 commits into
FreshlyBrewedCode:master
from
Taraman17:master
Mar 14, 2023
Conversation
This file contains 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
'typing.List' is deprecated, use 'list' instead pylint(deprecated-typing-alias)
In binary_sensor.py the import of "const" was with an improper path.
There are garage operators, that have a position attribute which is not editable. In that case, they show position, but can not be operated by set_position. Also tackle some deprecation notices.
Adding all Impulse type switching attributes from pymee, to discover more switches on devices. Naming changed, so that special impulses always get named by their type.. tackled some deprecation messages.
If a sensor neither has a name nor a device class, name it after it's AttributeType string
I really don't know, why all the old commits show up again here - the change only shows the correct one in one file... |
Thanks! The commits show up because I usually squash all commits from the PR when merging to keep the history clean and the commits message format consistent. To avoid showing the duplicate commits you should always pull the latest version from here after your PR has been merged and base any new changes off of that. It is not a problem in this case :) |
🎉 This PR is included in version 2.3.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
On the last changes, I forgot to set the state class for the new sensors.
This patch fixes that.