intents icon indicating copy to clipboard operation
intents copied to clipboard

[de] HassLightSet with satellite area

Open joie96 opened this issue 8 months ago • 1 comments

To set the brightness in the area of the activated satellite does not work.

I think it should be something like this:

language: de
intents:
  HassLightSet:
    data:
      # Change brightness of all lights in the same area as a satellite device
      - sentences:
          - "<setzen>[ <artikel>] Helligkeit[ auf] <brightness>"
          - "[<artikel> ]Helligkeit[ auf] <brightness>[ <setzen>]"
          - "dimme[ <artikel> Helligkeit][ (auf|zu)] <brightness>"
          - "[Helligkeit][ (auf|zu)] <brightness> dimmen"
        response: "brightness"
        requires_context:
          area:
            slot: true

But even when I'm using this in custom_sentences to extend the build in HassLightSet, this is conflicting with the current - "[<setzen> ]<artikel> Helligkeit[ (<lichter>|<alle_lichter>)][ <area>][ auf] <brightness>[ ein]" (https://github.com/home-assistant/intents/blob/main/sentences/de/light_HassLightSet.yaml#L15)

I think the above sentence needs to be changed, because without all optional parts it reduces to - "Helligkeit <brightness>" which I think does not make sense without

        requires_context:
          area:
            slot: true

joie96 avatar Jun 17 '24 19:06 joie96