{"action":"closed","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14350","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14350/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14350/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14350/events","html_url":"https://github.com/home-assistant/home-assistant/issues/14350","id":321420335,"number":14350,"title":"Can't set an input_select to 'Off' via a script or automation","user":{"login":"SteveDinn","id":3911507,"avatar_url":"https://avatars2.githubusercontent.com/u/3911507?v=4","gravatar_id":"","url":"https://api.github.com/users/SteveDinn","html_url":"https://github.com/SteveDinn","followers_url":"https://api.github.com/users/SteveDinn/followers","following_url":"https://api.github.com/users/SteveDinn/following{/other_user}","gists_url":"https://api.github.com/users/SteveDinn/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveDinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveDinn/subscriptions","organizations_url":"https://api.github.com/users/SteveDinn/orgs","repos_url":"https://api.github.com/users/SteveDinn/repos","events_url":"https://api.github.com/users/SteveDinn/events{/privacy}","received_events_url":"https://api.github.com/users/SteveDinn/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-09T03:44:38Z","updated_at":"2018-05-09T06:57:19Z","closed_at":"2018-05-09T06:57:19Z","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\n<!--\r\n- Frontend -> Developer tools -> Info\r\n- Or use this command: hass --version\r\n-->\r\n0.68.0\r\n\r\n**Last working Home Assistant release (if known):**\r\nNot sure.\r\n\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\n<!--\r\nPlease provide details about your environment.\r\n-->\r\nLinux Mint Sylvia (basically Ubuntu 16.04 LTS)\r\n\r\n**Component/platform:**\r\n<!--\r\nPlease add the link to the documentation at https://www.home-assistant.io/components/ of the component/platform in question.\r\n-->\r\ninput_select, scripts, automations\r\n\r\n**Description of problem:**\r\nWhen attempting to set an input_select to the value \"Off\" via a script or automation, it is being translated somewhere to \"False\" and a warning is logged stating that \"False\" is not a valid option, which it isn't. I also tried the value \"On\" just as a whim, and sure enough, it is translated to \"True\". Sounds like something might be trying to treat my input_select as an input_boolean.\r\n\r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n```yaml\r\ninput_select:\r\n  heatpump_upstairs_mode:\r\n    name: Mode\r\n    icon: mdi:air-conditioner\r\n    options:\r\n      - \"Off\"\r\n      - \"Auto\"\r\n      - \"Cool\"\r\n      - \"Dry\"\r\n      - \"Heat\"\r\n      - \"Fan\"\r\nscript:\r\n  goodnight:\r\n    alias: 'Good night'\r\n    sequence:\r\n      - service: input_select.select_option\r\n        data:\r\n          entity_id:\r\n            - input_select.heatpump_upstairs_mode\r\n        option: Off\r\n```\r\n\r\n**Traceback (if applicable):**\r\n```\r\n\r\n```\r\n\r\n**Additional information:**\r\nLogs:\r\n2018-05-09 00:41:03 WARNING (MainThread) [homeassistant.components.input_select] Invalid option: False (possible options: Off, Auto, Cool, Dry, Heat, Fan)"}}
{"actor":{"display_login":"MartinHjelmare"}}