{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16117","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16117/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16117/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16117/events","html_url":"https://github.com/home-assistant/home-assistant/issues/16117","id":352734562,"node_id":"MDU6SXNzdWUzNTI3MzQ1NjI=","number":16117,"title":"Reloading groups should also reload packages","user":{"login":"ksya","id":3142911,"node_id":"MDQ6VXNlcjMxNDI5MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3142911?v=4","gravatar_id":"","url":"https://api.github.com/users/ksya","html_url":"https://github.com/ksya","followers_url":"https://api.github.com/users/ksya/followers","following_url":"https://api.github.com/users/ksya/following{/other_user}","gists_url":"https://api.github.com/users/ksya/gists{/gist_id}","starred_url":"https://api.github.com/users/ksya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksya/subscriptions","organizations_url":"https://api.github.com/users/ksya/orgs","repos_url":"https://api.github.com/users/ksya/repos","events_url":"https://api.github.com/users/ksya/events{/privacy}","received_events_url":"https://api.github.com/users/ksya/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-21T22:29:20Z","updated_at":"2018-08-21T23:28:48Z","closed_at":null,"author_association":"NONE","body":"<!-- READ THIS FIRST:\r\n- If you need additional help with this template please refer to https://www.home-assistant.io/help/reporting_issues/\r\n- Make sure you are running the latest version of Home Assistant before reporting an issue: https://github.com/home-assistant/home-assistant/releases\r\n- Do not report issues for components if you are using custom components: files in <config-dir>/custom_components\r\n- This is for bugs only. Feature and enhancement requests should go in our community forum: https://community.home-assistant.io/c/feature-requests\r\n- Provide as many details as possible. Paste logs, configuration sample and code into the backticks. Do not delete any text from this template!\r\n-->\r\n\r\n**Home Assistant release with the issue:**\r\n0.76.1 (actually this issue exists since the addition of packages)\r\n\r\n\r\n**Last working Home Assistant release (if known):**\r\nnone\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\nRapbian with home assistant in a python virtualenv\r\n\r\n**Component/platform:**\r\nhttps://www.home-assistant.io/docs/configuration/packages/\r\n\r\n\r\n**Description of problem:**\r\nWhen a group is defined in a package, it will not (re)load the groups defined in the package when the \"Reload groups\" button is pressed in Home Assistant. The result is that the whole group will now show anymore in the frontend after pressing the \"Reload groups\" button.\r\n\r\nI think most packages have one group, since this is easy for displaying the package.\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\nExample:\r\n```\r\ngroup:\r\n  iliferobot:\r\n    name: ILIFE Robot\r\n    entities:\r\n    - vacuum.ilife_robot\r\n    - sensor.ilife_status\r\n    - sensor.ilife_battery\r\n    - sensor.ilife_battery_voltage\r\n    - sensor.ilife_boottime\r\n    - sensor.tijd_schoongemaakt_vandaag\r\n    # - binary_sensor.ilife_docked\r\n\r\nsensor:\r\n- platform: mqtt\r\n  name: ILIFE status mqtt\r\n  state_topic: \"ILIFERobot/state\"\r\n  value_template: '{{ value_json.state }}'\r\n- platform: template\r\n  sensors:\r\n    ilife_status:\r\n      friendly_name: ILIFE status\r\n      value_template: >\r\n        {% if is_state('sensor.ilife_status_mqtt', 'goinghome') %}\r\n          Thuis zoeken\r\n        {% else %}\r\n          {{ states.vacuum.ilife_robot.attributes.status }}\r\n        {% endif %}\r\n- platform: mqtt\r\n  name: ILIFE battery\r\n  state_topic: \"ILIFERobot/state\"\r\n  value_template: '{{ value_json.battery_level }}'\r\n  unit_of_measurement: '%'\r\n  icon_template: >-\r\n    {% if states('sensor.ilife_battery') >= 95 %}\r\n      mdi:battery\r\n    {% elif states('sensor.ilife_battery') < 5 %}\r\n      mdi:battery-outline\r\n    {% else %}\r\n      mdi:battery-{{ ((states('sensor.ilife_battery') | float / 10) | round(0)) | int * 10 }}\r\n    {% endif %}\r\n- platform: mqtt\r\n  name: ILIFE battery voltage\r\n  state_topic: \"ILIFERobot/state\"\r\n  value_template: '{{ value_json.battery_voltage }}'\r\n  unit_of_measurement: V\r\n- platform: mqtt\r\n  name: ILIFE boottime\r\n  state_topic: \"ILIFERobot/state\"\r\n  value_template: '{{ value_json.boottime | timestamp_local }}'\r\n- platform: history_stats\r\n  name: Tijd schoongemaakt vandaag\r\n  entity_id: sensor.ilife_status\r\n  state: 'Cleaning'\r\n  type: time\r\n  start: '{{ now().replace(hour=0).replace(minute=0).replace(second=0) }}'\r\n  end: '{{ now() }}'\r\n\r\n\r\nbinary_sensor:\r\n- platform: mqtt\r\n  name: ILIFE docked\r\n  state_topic: \"ILIFERobot/state\"\r\n  value_template: '{{ value_json.docked }}'\r\n  device_class: occupancy\r\n  payload_on: true\r\n  payload_off: false\r\n\r\nvacuum:\r\n- platform: mqtt\r\n  name: \"ILIFE Robot\"\r\n  retain: true\r\n  supported_features:\r\n    - turn_on\r\n    - turn_off\r\n    - return_home\r\n    - status\r\n    - clean_spot\r\n    - send_command\r\n    - battery\r\n  payload_turn_on: 'robot:start'\r\n  payload_turn_off: 'robot:stop'\r\n  payload_start_pause: 'robot:start_pause'\r\n  payload_return_to_base: 'robot:home'\r\n  payload_clean_spot: 'robot:spot'\r\n  command_topic: \"ILIFERobot/command\"\r\n  battery_level_topic: \"ILIFERobot/state\"\r\n  battery_level_template: \"{{ value_json.battery_level }}\"\r\n  docked_topic: \"ILIFERobot/state\"\r\n  docked_template: '{{ value_json.docked }}'\r\n  charging_topic: \"ILIFERobot/state\"\r\n  charging_template: '{{ value_json.charging }}'\r\n  cleaning_topic: \"ILIFERobot/state\"\r\n  cleaning_template: '{{ value_json.cleaning }}'\r\n  send_command_topic: 'ILIFERobot/command'\r\n\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n\r\n```\r\n\r\n**Additional information:**\r\nSame problem might occur for automations. I don't have packages with automations (yet)."},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/414854489","html_url":"https://github.com/home-assistant/home-assistant/issues/16117#issuecomment-414854489","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/16117","id":414854489,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDg1NDQ4OQ==","user":{"login":"arsaboo","id":18319734,"node_id":"MDQ6VXNlcjE4MzE5NzM0","avatar_url":"https://avatars1.githubusercontent.com/u/18319734?v=4","gravatar_id":"","url":"https://api.github.com/users/arsaboo","html_url":"https://github.com/arsaboo","followers_url":"https://api.github.com/users/arsaboo/followers","following_url":"https://api.github.com/users/arsaboo/following{/other_user}","gists_url":"https://api.github.com/users/arsaboo/gists{/gist_id}","starred_url":"https://api.github.com/users/arsaboo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arsaboo/subscriptions","organizations_url":"https://api.github.com/users/arsaboo/orgs","repos_url":"https://api.github.com/users/arsaboo/repos","events_url":"https://api.github.com/users/arsaboo/events{/privacy}","received_events_url":"https://api.github.com/users/arsaboo/received_events","type":"User","site_admin":false},"created_at":"2018-08-21T23:28:48Z","updated_at":"2018-08-21T23:28:48Z","author_association":"CONTRIBUTOR","body":"The devs have have made it abundantly clear that packages is not the way to go about things and that they will not invest efforts in packages. Packages make the whole backend more difficult. \r\n\r\nThis is not a bug...so please close the issue. "}}
{"actor":{"display_login":"arsaboo"}}