Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Set state class for Position & Up_Down sensors #31

Merged
merged 19 commits into from
Mar 14, 2023
Merged

Set state class for Position & Up_Down sensors #31

merged 19 commits into from
Mar 14, 2023

Conversation

Taraman17
Copy link
Contributor

On the last changes, I forgot to set the state class for the new sensors.
This patch fixes that.

Taraman17 and others added 19 commits March 1, 2023 18:49
'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
@Taraman17
Copy link
Contributor Author

I really don't know, why all the old commits show up again here - the change only shows the correct one in one file...

@FreshlyBrewedCode
Copy link
Owner

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 :)

@FreshlyBrewedCode FreshlyBrewedCode merged commit 7cc2d84 into FreshlyBrewedCode:master Mar 14, 2023
@github-actions
Copy link

🎉 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.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants