[DE] Device in Area triggers scene instead of generic HassTurnOn #2875
Open
Description
I have a light called "Garderobe" and an area "Eingang", of course the light is linked to the area.
When parsing the sentence "Schalte Garderobe in Eingang ein" or "Schalte Garderobe in Eingang an" in the dev tools, I would expect it to parse it as follows:
intent:
name: HassTurnOn
slots:
area: Eingang
name: Garderobe
details:
area:
name: area
value: Eingang
text: Eingang
name:
name: name
value: Garderobe
text: garderobe
targets:
light.licht_garderobe:
matched: true
match: true
sentence_template: ' (<schalten>|<machen>) <name>[ <area>] <an>'
unmatched_slots:
name:{}
source: builtin
Instead, its parsed as a scene
intent:
name: HassTurnOn
slots:
area: Eingang
domain: scene
details:
area:
name: area
value: Eingang
text: Eingang
domain:
name: domain
value: scene
text: ''
targets: {}
match: false
sentence_template: '[<szene> ]<name> <area>[ (<aktivieren>|<ausfuehren>|<an>)]'
unmatched_slots:
name: 'Schalte Garderobe '
source: builtin
I'm not sure why it parses as a scene, any thoughts?