# Tag improvements

**URL:** <https://community.gladysassistant.com/t/amelioration-des-tags/8512>\
**Category:** Configuration\
**Tags:** tags\
**Created:** [November 20, 2023, 10:01pm UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512 "2023-11-20T22:01:48Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![Hizo](https://gladys-assistant-community.b-cdn.net/letter_avatar_proxy/v4/letter/h/51bf81/32.png) [@Hizo](https://community.gladysassistant.com/u/Hizo)\
**Post date:** [November 22, 2023, 11:16pm UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/21 "2023-11-22T23:16:26Z")

</div>

@Terdious  
Thanks, that’s exactly what I thought 🙂

Many sites that use tags work cumulatively.  
Ex: I want all products from the

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [November 23, 2023, 6:34am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/22 "2023-11-23T06:34:49Z")

</div>

It all depends on what you want to use it for.  
You’re assuming that you want to compare two products.  
But in Gladys you can’t compare two scenes.  
I just want to list the scenes that share the

---

<div class="post-metadata">

**Author:** ![guim31](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/guim31/32/4840_2.png) [@guim31](https://community.gladysassistant.com/u/guim31)\
**Post date:** [November 23, 2023, 7:57am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/23 "2023-11-23T07:57:53Z")

</div>

The thing is we’re talking about two fairly different concepts.

I personally see tags as a filter and others see them as a way to sort. A filter works like a funnel: the more you add, the more it narrows what comes out.  
So it seems logical to me that they work like an `AND`.

In fact, nothing is impossible even with this behavior:

@Terdious for HP / HC, you just need to create a «&nbsp;higher-level&nbsp;» tag that could be called `Plages HP-HC` (I’m saying this off the top of my head, you’d want something more fitting and meaningful to you).

So you tag your scenes:

For peak hours: `Plages HP-HC` + `HP`  
For off-peak hours: `Plages HP-HC` + `HC`

Which is ultimately what we all more or less did by tinkering with the names of our scenes to find them.

And then you can do `OR` by checking your `HP` or `HC` tag and `AND` by checking `Plages HP-HC` +

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [November 23, 2023, 9:39am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/24 "2023-11-23T09:39:24Z")

</div>

> [@guim31](#):
>
> A filter is the principle of a funnel: the more you add, the more you thin out what comes out.

For me it’s the behavior that seems the most obvious…

Even though I understand well what you’re saying @Hizo  
The arguments of @guim31 and @spenceur also make sense.  
Like @spenceur, I also came to understand another perspective in the process.

Consensus will be difficult; in any case, some people will have to add more tags to find their way.

If we had to vote, I’d go for AND. (some kind of Doodle poll for that?)

---

<div class="post-metadata">

**Author:** ![cicoub13](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/cicoub13/32/4482_2.png) [@cicoub13](https://community.gladysassistant.com/u/cicoub13)\
**Post date:** [November 23, 2023, 11:18am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/25 "2023-11-23T11:18:48Z")

</div>

_Poll ([view on site](https://community.gladysassistant.com/t/amelioration-des-tags/8512/25))_

Cast your votes 😉

---

<div class="post-metadata">

**Author:** ![b3n.0](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/b3n.0/32/3458_2.png) [@b3n.0](https://community.gladysassistant.com/u/b3n.0)\
**Post date:** [November 23, 2023, 2:34pm UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/26 "2023-11-23T14:34:40Z")

</div>

> [@b3n.0](#):
>
> some sort of Doodle for that?

> [@cicoub13](#):
>
> Cast your votes 😉

Great, magical, effective!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [November 23, 2023, 5:17pm UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/27 "2023-11-23T17:17:24Z")

</div>

> [@Lokkye](#):
>
> Here is the PR with all the fixes:

I left you a review: [Fix return tag scene by callemand · Pull Request #1946 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/1946#pullrequestreview-1746836869)

---

<div class="post-metadata">

**Author:** ![Lokkye](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/lokkye/32/5881_2.png) [@Lokkye](https://community.gladysassistant.com/u/Lokkye)\
**Post date:** [November 24, 2023, 8:16am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/28 "2023-11-24T08:16:53Z")

</div>

@pierre-gilles : Thanks. I just had the feedback corrected

---

<div class="post-metadata">

**Author:** ![spenceur](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/spenceur/32/1961_2.png) [@spenceur](https://community.gladysassistant.com/u/spenceur)\
**Post date:** [November 25, 2023, 12:23am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/29 "2023-11-25T00:23:54Z")

</div>

I think we can go with it in the end.  
Unless there’s a way to satisfy everyone, but I don’t think that’s the philosophy of making everything customizable

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [November 27, 2023, 8:33am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/30 "2023-11-27T08:33:34Z")

</div>

> [@Lokkye](#):
>
> Thanks. I just had the feedback corrected

Thanks! I’ve re-reviewed it: [Fix return tag scene by callemand · Pull Request #1946 · GladysAssistant/Gladys · GitHub](https://github.com/GladysAssistant/Gladys/pull/1946#pullrequestreview-1749877520)

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [November 27, 2023, 3:16pm UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/31 "2023-11-27T15:16:43Z")

</div>

Thanks @Lokkye for your latest feedback, it’s tested and approved on my end 🚀

It’s merged and will ship in the next Gladys release!

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [December 11, 2023, 9:58am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/32 "2023-12-11T09:58:53Z")

</div>

The fixes are available in the latest version of Gladys!

> [@Gladys Assistant 4.32 : L'intégration Sonos est disponible ! musical\_note](https://community.gladysassistant.com/t/gladys-assistant-4-32-lintegration-sonos-est-disponible/8615):
>
> Salut à tous ! Très heureux de lancer aujourd’hui Gladys Assistant 4.32, qui intègre notamment l’intégration Sonos partying_face Pour en savoir plus : Merci à tous les contributeurs qui ont participé à cette release: @Lokkye @cicoub13 @_Will_71 @Brisou raised_hands Et un tonnerre d’applaudissement pour @Brisou qui a fait sa première PR sur Gladys clapclapclap

---

<div class="post-metadata">

**Author:** ![pierre-gilles](https://gladys-assistant-community.b-cdn.net/user_avatar/community.gladysassistant.com/pierre-gilles/32/5886_2.png) [@pierre-gilles](https://community.gladysassistant.com/u/pierre-gilles)\
**Post date:** [December 11, 2023, 9:58am UTC](https://community.gladysassistant.com/t/amelioration-des-tags/8512/33 "2023-12-11T09:58:56Z")

</div>



[Previous page](https://community.gladysassistant.com/t/amelioration-des-tags/8512.md?page=1)
