Skip to content
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

Default Schedule/Action #383

Open
2 tasks done
hilburn opened this issue Oct 22, 2024 · 11 comments
Open
2 tasks done

Default Schedule/Action #383

hilburn opened this issue Oct 22, 2024 · 11 comments

Comments

@hilburn
Copy link

hilburn commented Oct 22, 2024

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Being able to define an Action to perform, or even another Schedule to follow in the event the Condition is False would massively increase the options available in an intuitive way
It would allow you to keep (for example) workday/weekend schedules in a single "card", reducing clutter on room dashboards
I'm not sure whether it would be better to allow you to define this default within the schedule config directly, or by referencing a second schedule - the former would be neater, but the latter would allow for multiple layers of nesting and conditions so you could have "IF Summer ELSE IF Autumn ELSE IF Winter ELSE IF Spring ELSE" schedules for example.

Additional info

Spare Bedroom Heating Schedule:
Condition: If Guest Heating is On

  • Night: 0000-0700
  • Boost: 0700-0730
  • Comfort: 0730-0900
  • Eco: 0900-2100
  • Night: 2100-2400
    Else:
  • Set Frost Mode

It also could be easily used to implement an "away" schedule if a proximity sensor isn't active, a "vacation" mode to control lights differently etc

@hacscred
Copy link

You can execute scripts already. The scripts are fully programmable.

If you want even more control, you can also use the provided API of the scheduler component to control the scheduler component externally via pyscript or AppDaemon or similar systems.

The advantage of these systems is that less of your business logic is tied to Home Assistant, so if you want to keep your options open, switching to competitors of Home Assistant would be more practical in the future.

I don't like migrations, but if you can plan to make migration costs low at a small expense, it's a good decision.

I think the key to a sustainable Home Assistant integration is to make some core feature work really well, but to not add too many bells and whistles, because that will increase the amount of discussion exponentially.

Abstractions that would be useful conceptually (not to me, anymore) are things like "do some action twenty minutes before this other scheduled action" (relative actions). That would likely require a rewrite. Also, since this is open-source, Niels likely has no grand goals with this. It solved a problem for him and if someone else can use it, great. Niels even went beyond that by fixing some bugs.

@Petro31
Copy link

Petro31 commented Oct 26, 2024

Lets see how long it takes for you to get banned from this repo with your "valuable feedback". What are we at now? Python-banned, homeassistant organization-banned, nixos-banned. Have I missed any?

@hacscred
Copy link

@Petro31 My feedback is valuable. I can't help it that the audience is too stupid or protective of certain interests.

cpython probably doesn't like it when a compiler expert explains that it's garbage (which is what every professor in computer science would say about it). Yes, I am way more qualified to do everything better than they have done.

Home Assistant doesn't like it when I explain how what they are doing (no YAML to configure Home Assistant from scratch) was already obsolete thirty years ago. Home Assistant just wants to get more idiots as users.

As for NixOS, I used it professionally before anyone else in the world. I don't think you can find anyone that can explain why I was banned, since nobody even offered an opportunity to discuss it. I don't have anything to prove to anyone. Why would I want to talk to people that are less intelligent and less experienced? It's a waste of time. NixOS has become so popular that it has now been infested with Eternal September Syndrom. Every system that becomes popular gets the same faith without strong leadership. I am sure that the first NixOS fork has a higher average intelligence. It's just the way nature works. People like me make it work and then people like Pedro31 ruin it. That's all.

Niels, please ban Pedro31 for harassment and abuse and the same for everyone that added an emoticon, since they aren't adding to the conversation.

GitHub is a platform that's actively hostile to any serious developer, which isn't odd, because it's owned by Microsoft.

I think only ignorant people or people without strategic insight would use GitHub as a primary platform. GitHub is easy to start using it, but ultimately it's a very hostile place. There's nothing inclusive about banning people. I think you would have to be an awful person to encourage banning people first. (I am not first, as you can see.)

Back in 2001, the then CEO of Microsoft, Steve Ballmer, said that "Linux is a cancer that attaches itself in an intellectual property sense to everything it touches."

Pedro31, please go back to flipping pizzas or whatever. Just stop harassing me.

@hacscred
Copy link

Checklist

  • I checked for similar existing requests (both open and closed) before posting.
  • My request is generic, other users may benefit from it too.

Proposal

Being able to define an Action to perform, or even another Schedule to follow in the event the Condition is False would massively increase the options available in an intuitive way It would allow you to keep (for example) workday/weekend schedules in a single "card", reducing clutter on room dashboards I'm not sure whether it would be better to allow you to define this default within the schedule config directly, or by referencing a second schedule - the former would be neater, but the latter would allow for multiple layers of nesting and conditions so you could have "IF Summer ELSE IF Autumn ELSE IF Winter ELSE IF Spring ELSE" schedules for example.

Additional info

Spare Bedroom Heating Schedule: Condition: If Guest Heating is On

  • Night: 0000-0700
  • Boost: 0700-0730
  • Comfort: 0730-0900
  • Eco: 0900-2100
  • Night: 2100-2400
    Else:
  • Set Frost Mode

It also could be easily used to implement an "away" schedule if a proximity sensor isn't active, a "vacation" mode to control lights differently etc

Can you also speak using words instead of emoticons?

Your feature is not designed in any way. As such, this is just you trying to get Niels to go on a wild goose chase. It's a literal waste of time. Sure, it looks like a good idea at first sight, but is it? No.

You should respect people that know more than you will ever know, but I guess you just weren't raised right.

@Petro31
Copy link

Petro31 commented Oct 26, 2024

As for NixOS, I used it professionally before anyone else in the world. I don't think you can find anyone that can explain why I was banned, since nobody even offered an opportunity to discuss it. I don't have anything to prove to anyone. Why would I want to talk to people that are less intelligent and less experienced? It's a waste of time. NixOS has become so popular that it has now been infested with Eternal September Syndrom. Every system that becomes popular gets the same faith without strong leadership. I am sure that the first NixOS fork has a higher average intelligence. It's just the way nature works. People like me make it work and then people like Pedro31 ruin it. That's all.

An expert would surely find the reason here...
https://github.com/NixOS/moderation/blob/4061e2d8df7fc01604e5970a477073eabb5aefea/moderation-log.md?plain=1#L3

hacscred was banned on GitHub for repeatedly showing hostile interactions with our contributor base.

Also, apparently t and d are indistinguishable with so-called experts

@joostlek
Copy link

Pedro31, please go back to flipping pizzas or whatever. Just stop harassing me.

Petro31*

@hacscred
Copy link

As for NixOS, I used it professionally before anyone else in the world. I don't think you can find anyone that can explain why I was banned, since nobody even offered an opportunity to discuss it. I don't have anything to prove to anyone. Why would I want to talk to people that are less intelligent and less experienced? It's a waste of time. NixOS has become so popular that it has now been infested with Eternal September Syndrom. Every system that becomes popular gets the same faith without strong leadership. I am sure that the first NixOS fork has a higher average intelligence. It's just the way nature works. People like me make it work and then people like Pedro31 ruin it. That's all.

An expert would surely find the reason here... https://github.com/NixOS/moderation/blob/4061e2d8df7fc01604e5970a477073eabb5aefea/moderation-log.md?plain=1#L3

hacscred was banned on GitHub for repeatedly showing hostile interactions with our contributor base.

That would be laughed out of court. There's no accountability in that "community". There is no reason or evidence there. It's just some poor person that wrote something down, because that's protocol. The SS also executed Jews and wrote down in their notebooks the reason was that they were Jews. It doesn't mean it's true.

Perhaps I was harassed before, just like you are doing right now? I probably should be a black lesbian with pink hair and then I would fit right in.

Arguing in favor of against something, isn't "hostile". Whoever redefined what hostile behavior is, clearly needs to be put in a mental institution or like in corporate America get a raise.

You don't like my opinion. Deal with it.

Experts don't care about the procedures thought of by crazy people. It would only encourage them.

@hacscred
Copy link

Pedro31, please go back to flipping pizzas or whatever. Just stop harassing me.

Petro31*

I care so much about this person that I don't bother to check their name. Why do you think I would care? Do you lack social intelligence? Also, please stop harassing me.

@joostlek
Copy link

Do you lack social intelligence?

Nope

@Petro31
Copy link

Petro31 commented Oct 26, 2024

Do you lack social intelligence?

Nope

I know who does!

@hacscred
Copy link

Do you lack social intelligence?

Nope

It was a rhetorical question.

Repository owner locked as too heated and limited conversation to collaborators Oct 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants