michbeck100/pimatic-echo

Feature request: rename devices and group them?

xCite1986 opened this issue · 3 comments

i think in some cases its useful to rename devices to a other name as the device name within pimatic and group them by seperate id

"devices": [
  {
    "id": "switch",
    "class": "DummySwitch",
    "name": "Workroom Switch",
    "echo": {
      "name": "Light",
      "room": "Workroom"
    }
  }
]

so alexa could handle something like:
"alexa, turn [name] in the [room] on"
or
"alexa, turn all in the [room] on"
or
"alexa, turn in the [room] the [name] on"

Setting the room is currently not possible. You have to name your devices more unique. But you could also name your device "[name] in the [room]".
I'm leaving this issue open, as the name override is a neat feature.

Implemented with version 0.0.4

great, thanks for your work :)