More zone settings

It would be nice if the zone variable “passive” could be split into one variable for each behaviour. Currently the docs states this:

passive (Optional): Optional boolean to only use the zone for automation and hide it from the UI and not use the zone for device tracker name. Defaults to false.

At a glance it looks like this varable changes three things, but it’s only two: UI visibility, and device tracker state changes.

So why not remove passive and split it into two variables like this instead:

  • tracking (optional, defaults to true) - device tracker state
  • ui_visible (optional, defaults to true) - map zone visibility

Setting both to false gives the same behaviour as the current passive: true and it would be possible to tweak the behaviour as needed.

If I implemented something like this myself, would it be of interest to the community?

I would have to do it with backwards combility for now, so that a passive: true have higher priority than the other two settings. And I could use some pointers on what files to look at. Not sure if this the passive state is handled in python php javascript or a mix of all.