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

Add UI config flow, remove time zone features & legacy tracker support #54

Merged
merged 17 commits into from
Jan 16, 2024

Conversation

pnbruckner
Copy link
Owner

@pnbruckner pnbruckner commented Jan 5, 2024

  • Integrate code from CompositeScanner class into CompositeDeviceTracker class.
  • Add reload service.
  • Add UI-based config flow.
  • Add support for sensors with lat/lon attributes.
  • Add translations.
    - [ ] Add device info.
  • Remove time zone related features.
  • Remove legacy tracker support.
  • Remove imported configs no longer in YAML.
  • Handle frozen EntityDescription.
  • Update docs.

Closes #55.

@pnbruckner pnbruckner merged commit 4b1f498 into master Jan 16, 2024
4 checks passed
@pnbruckner pnbruckner deleted the config_flow branch January 16, 2024 17:57
@bcutter
Copy link

bcutter commented Feb 13, 2024

I'm urgently looking for this feature. Thanks a loooooooot for adding it!

I want to start using this integration, but using old .yaml is really not an option (anymore, we have 2024 - UI is king 👑! 😄 ).

When can we expect this UI config flow to ship with a (stable) release?
(Update: found this is part of beta release 3.0.0.b0 https://github.com/pnbruckner/ha-composite-tracker/releases/tag/3.0.0b0 --> but beta is never a great idea to use with a production system...)

Unfortunately I can't use the beta versions as my HA does not meet the dependency requirements. Seems like there's something in this integration which needs 2023.7... 🙄 What a pity.
grafik

@pnbruckner
Copy link
Owner Author

@bcutter I was planning on releasing this as 3.0.0 very soon.

Regarding HA versions, yes, it does currently require at least 2023.7. That is already over a half year old. With all the changes that happen in the core system, and at such a fast rate, it gets really hard to support versions much older than that.

@bcutter
Copy link

bcutter commented Feb 13, 2024

Yeah I see. 👍 for releasing the stable 3.0 soon.
Indeed it gets. Sometimes developers are not paying specific attention to the hacs.json and simply enter the version used by their own like "this is the HA version I tested it with, so now this is required" which is why I - currently a bit behind with HA updates... - ask if there's an actual technical dependency.

But to be honest... this integration motivates me A LOT to update my HA asap (because as mentioned: UI > YAML) 😃

@pnbruckner
Copy link
Owner Author

Sometimes developers are not paying specific attention to the hacs.json and simply enter the version used by their own like "this is the HA version I tested it with, so now this is required" which is why I - currently a bit behind with HA updates... - ask if there's an actual technical dependency.

I do try to test with older versions to verify what the cutoff really is. Although I have been known to miss stuff if I try to do things too fast! 🤣

I started writing some of the integrations quite long ago, and often have to add code to deal with new changes while trying to maintain backwards compatibility. Normally I comment the code where this happens as to what version required the changes. At some point I go back and rip out support for really old stuff, otherwise it gets a bit ridiculous.

In this case, I'm pretty sure it was 2023.7. I don't recall the details off the top of my head, but I'm pretty sure there was a significant change in that release such that supporting older versions became difficult, so many of my custom integrations use this version as the cutoff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deprecated constants which will be removed in HA Core 2025.1
2 participants