Haaska exclude by default?

Is there a way to exclude entities by default rather than include by default?

The setting was just added to haaska recently, expose_by_default.

Cool, do you have a link to it anywhere? I only see the option for emulated_hue.

You can do it with customize, just turn everything hidden like below and then turn on what you want after. Note that false and true are reversed, pull request outstanding.

  customize_glob:
    "*.*":
      haaska_hidden: false
  customize_domain:
    switch:
      haaska_hidden: true

Thanks, but thats what i’m already doing. My problem is anytime I add anything I have to go and find all its entity id’s and add haaska_hidden: true to all of them. I have a huge list of these now. Would be nice to have it false by default and then I can just add in the small subset of entities that make sense for voice control…

I am unsure what the difference is. How about you put your new / old entities that you want exposed to hasska in a group called group.hassask_show and use this.

  customize_glob:
    "*.*":
      haaska_hidden: false
  customize: 
    group.haaska_show:
      haaska_hidden: true

Look at the current version of haaska, which has "expose_by_default": true in the README and the config sample.

Thanks for the info guys, working on getting the newest version of haaska up and running but I’m getting errors. Have my issues posted on the haaska github:

No luck so far…

Hi, i tried haaska with the exposed default false option but it still lists all hass devices in Alexa.

Here is my config, is there anything you see that is wrong maybe?

{
  "expose_by_default": false,
  "entity_suffixes": {
    "climate": "",
    "group": "Group",
    "script": "",
    "media_player": "",
    "lock": "",
    "cover": "",
    "garage_door": "",
    "scene": "Scene",
    "switch": "",
    "fan": "",
    "light": "",
    "input_boolean": ""
  },
  "allowed_domains": [
    "climate",
    "cover",
    "fan",
    "garage_door",
    "group",
    "input_boolean",
    "light",
    "lock",
    "media_player",
    "scene",
    "script",
    "switch"
  ],
  "url": "https://hass.url.com/api",
  "debug": false,
  "ssl_verify": false,
  "password": "password"
}

After posting i tried it again with latest haaska version, working now i think. Nothing is exposed anymore by default :slight_smile:

:+1:t2: Yep .3 added hide by default. Never closed this out, follow up here:

Ref: