-
-
Notifications
You must be signed in to change notification settings - Fork 35
add basic climate support #389
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
base: main
Are you sure you want to change the base?
Conversation
|
@unixorn could you give a hint, how to handle it? |
|
@Schluggi Thanks for your PR, I will have a look. |
|
How about?
This class can then be used to create something like SimpleSubscriber which only covers the classical command_topic or something more complex like your ClimateSubscriber class. If this makes sense to you, I can create a feature branch with the proposed changes. |
|
Sure. Sounds great. |
|
@Schluggi will do DSO is correct, both mentioned commits are lacking the Signed-off-by: Schluggi [email protected] compared to your other commits. |
add support for climate Signed-off-by: Schluggi <[email protected]> � This is the commit message unixorn#3: add support for climate Signed-off-by: Schluggi <[email protected]> � This is the commit message unixorn#4: add support for climate Signed-off-by: Schluggi <[email protected]> add support for climate Signed-off-by: Schluggi <[email protected]> fix pytest
Signed-off-by: Steffen Pankratz <[email protected]> Signed-off-by: Schluggi <[email protected]>
Signed-off-by: Steffen Pankratz <[email protected]> Signed-off-by: Schluggi <[email protected]> fix README Signed-off-by: Schluggi <[email protected]> [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Signed-off-by: Schluggi <[email protected]>
Ask for contributor mastodon account so we can credit them properly in release announcements. Also ask if there's a different way they'd prefer to be credited. Signed-off-by: Joe Block <[email protected]> Signed-off-by: Schluggi <[email protected]>
Signed-off-by: Steffen Pankratz <[email protected]> Signed-off-by: Schluggi <[email protected]>
Signed-off-by: Steffen Pankratz <[email protected]> Signed-off-by: Schluggi <[email protected]>
Signed-off-by: Steffen Pankratz <[email protected]> Signed-off-by: Schluggi <[email protected]>
Table of Contents generated with DocToc
Description
I added basic support for climate (#222). This is not done yet and I need some help.
In my PR I add a new class called
ClimateSubscriberto handle all the special topics needed for aclimateentity. I'm pretty sure this not the supposed way to do this. Moreover there is a lot of code duplication inClimateSubscriberandSubscriber.climateis the first entity with multiple topics as far as I can see. Furthermore it would be much nicer to have different callbacks for each command. Therefore theSubscriberclass must be rewritten.Supported features so far:
Whats missing:
License Acceptance
Type of changes
Checklist
#!/usr/bin/env interpreterinstead of potentially platform-specific direct paths (#!/bin/shis an allowed exception)