{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11778","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11778/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11778/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11778/events","html_url":"https://github.com/home-assistant/home-assistant/issues/11778","id":289797699,"number":11778,"title":"Assistants and packages config ","user":{"login":"rofrantz","id":15244639,"avatar_url":"https://avatars3.githubusercontent.com/u/15244639?v=4","gravatar_id":"","url":"https://api.github.com/users/rofrantz","html_url":"https://github.com/rofrantz","followers_url":"https://api.github.com/users/rofrantz/followers","following_url":"https://api.github.com/users/rofrantz/following{/other_user}","gists_url":"https://api.github.com/users/rofrantz/gists{/gist_id}","starred_url":"https://api.github.com/users/rofrantz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rofrantz/subscriptions","organizations_url":"https://api.github.com/users/rofrantz/orgs","repos_url":"https://api.github.com/users/rofrantz/repos","events_url":"https://api.github.com/users/rofrantz/events{/privacy}","received_events_url":"https://api.github.com/users/rofrantz/received_events","type":"User","site_admin":false},"labels":[{"id":562804248,"url":"https://api.github.com/repos/home-assistant/home-assistant/labels/waiting-for-reply","name":"waiting-for-reply","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-01-18T22:26:57Z","updated_at":"2018-05-29T13:20:14Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"**Home Assistant release (`hass --version`):**\r\n0.61.0.dev0\r\n\r\n**Python release (`python3 --version`):**\r\nPython 3.5.2\r\n\r\n**Component/platform:**\r\ngoogle assistant configuration (packages in general, zwave, media players, everything)\r\n\r\n**Description of problem:**\r\nAfter google assistant config was changed from customize to entity_config I'm facing the following multiple problems:\r\n1) I've grouped my different entities in different packages. Before they were scattered indeed in different files giving me the advantage that if I remove one package, everything (including any google assistant customization) would be easy to manage. After this change I'm being forced to maintain multiple config files, again scattered in multiple places: one where the entity domain package resides and the other one in google assistant package and this is for each entity.\r\n\r\n2) The problem gets even more complicated for zwave where before I had:\r\n```yaml\r\nhomeassistant:\r\n  customize_glob:\r\n    switch.lights*:\r\n      icon: mdi:lightbulb\r\n      google_assistant_type: light\r\n      google_assistant: true\r\n```\r\nAnd after this change I'll need to add manually 20 lights + outlets individual configs in GA package for each light :((((((\r\n\r\n**Expected:**\r\nWithout intending to offend anyone, at least a solution for the zwave problem (an **entity_config_global** which also supports asterix namings) since I'm pretty sure that this BAD (imho and probably multiple other users) decision regarding the GA entity_config won't be rethought based on:\r\na) my previous zwave entity ids renaming experience (congrats, you're now on the 4th breaking change PR on the renaming entity ids problem) \r\nand \r\nb) other previous comments on the same topic\r\n\r\n**Additional info:**\r\nI'm sure this decision was well thought but think that in the future multiple things will have optional support either for GA or Alexa and the maintenance problem will be multiplied for each individual entity.\r\n\r\nThe previous idea where they were just another (optional) property of an entity will be the future.\r\nWhat if an user has Alexa, GA, Bixby, Cortana and who knows might appear in the future. Will we need for a single entity to have in spread in individual configs for each assistant instead of having it as a single stupid decorator attribute in a single file ?\r\n\r\nI'm sure there's a better solution for this problem which probably just make it easier for u guys for the cloud solution that u're probably preparing this changes for.\r\n\r\nSWOT analysis (strengths, weaknesses, opportunities and threats) guys, think on what we want: \r\na) a single config package file where everything is easily maintainable for one or more entities from that package single domain which is indeed easier to maintain for devs & a little harder (but not impossible since they've added anyway the entity config manually :P) for the non dev users.\r\nI'm sure we'll find a way in the future a good solution to reload HA without restarting it.\r\n\r\nb) at least two config files (one for each assistant and one for the one or more entity from the same domain) just to achieve the things from below:\r\n- HA reload easier (yaaay, like who needs to reload HA once u got it working or how many times a day) -\r\n- not necessarily easier customizable from UI since an user needs to go on two config panels anyway: GA and entity config once they will be added in the future\r\n- harder for devs (but also not impossible)\r\n\r\nThis is how my GA package looks like and I haven't finished because I'm scared the zwave entities:\r\n\r\n```yaml\r\ngoogle_assistant:\r\n  project_id: !secret ga_project_id\r\n  client_id: !secret ga_client_id\r\n  access_token: !secret ga_access_token\r\n  expose_by_default: false\r\n  entity_config:\r\n    switch.emby:\r\n      type: switch\r\n      expose: true\r\n\r\n    switch.nas:\r\n      type: switch\r\n      expose: true\r\n      aliases:\r\n        - nas\r\n\r\n    media_player.kodi:\r\n      type: switch\r\n      expose: true\r\n\r\n    media_player.bedroom_tc:\r\n      type: switch\r\n      expose: true\r\n      aliases:\r\n        - bedroom tv\r\n\r\n    media_player.livingroom_tv:\r\n      type: switch\r\n      expose: true\r\n      aliases:\r\n        - living room tv\r\n\r\n    script.living_room_tv_watch_news:\r\n      type: scene\r\n      expose: true\r\n      aliases:\r\n        - watching news\r\n        - watch news\r\n\r\n    script.living_room_sleep:\r\n      type: scene\r\n      expose: true\r\n      aliases:\r\n        - sleeping in livingroom\r\n        - sleeping\r\n        - sleep mode\r\n\r\n    switch.transmission:\r\n      type: switch\r\n      expose: true\r\n\r\n```\r\nWhy do we need media players, scripts, switches, outlets, washing machines, lights without any relation one to another need to be in the same config file instead of dedicated packages ? Just because GA supports them is not a good answer since it supports them also if we provide them from multiple files"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/392773083","html_url":"https://github.com/home-assistant/home-assistant/issues/11778#issuecomment-392773083","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/11778","id":392773083,"user":{"login":"balloobbot","id":16367972,"avatar_url":"https://avatars3.githubusercontent.com/u/16367972?v=4","gravatar_id":"","url":"https://api.github.com/users/balloobbot","html_url":"https://github.com/balloobbot","followers_url":"https://api.github.com/users/balloobbot/followers","following_url":"https://api.github.com/users/balloobbot/following{/other_user}","gists_url":"https://api.github.com/users/balloobbot/gists{/gist_id}","starred_url":"https://api.github.com/users/balloobbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/balloobbot/subscriptions","organizations_url":"https://api.github.com/users/balloobbot/orgs","repos_url":"https://api.github.com/users/balloobbot/repos","events_url":"https://api.github.com/users/balloobbot/events{/privacy}","received_events_url":"https://api.github.com/users/balloobbot/received_events","type":"User","site_admin":false},"created_at":"2018-05-29T13:20:14Z","updated_at":"2018-05-29T13:20:14Z","author_association":"CONTRIBUTOR","body":"This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to [open a new one](https://github.com/home-assistant/home-assistant/issues/new) if you still experience this problem 👍"}}
{"actor":{"display_login":"balloobbot"}}