{"action":"created","issue":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14862","repository_url":"https://api.github.com/repos/home-assistant/home-assistant","labels_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14862/labels{/name}","comments_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14862/comments","events_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14862/events","html_url":"https://github.com/home-assistant/home-assistant/issues/14862","id":330421915,"node_id":"MDU6SXNzdWUzMzA0MjE5MTU=","number":14862,"title":"Make the same generic thermostat - be able to work in ac mode or heat mode ","user":{"login":"gnkarn","id":3314004,"node_id":"MDQ6VXNlcjMzMTQwMDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/3314004?v=4","gravatar_id":"","url":"https://api.github.com/users/gnkarn","html_url":"https://github.com/gnkarn","followers_url":"https://api.github.com/users/gnkarn/followers","following_url":"https://api.github.com/users/gnkarn/following{/other_user}","gists_url":"https://api.github.com/users/gnkarn/gists{/gist_id}","starred_url":"https://api.github.com/users/gnkarn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnkarn/subscriptions","organizations_url":"https://api.github.com/users/gnkarn/orgs","repos_url":"https://api.github.com/users/gnkarn/repos","events_url":"https://api.github.com/users/gnkarn/events{/privacy}","received_events_url":"https://api.github.com/users/gnkarn/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-07T20:21:49Z","updated_at":"2018-06-08T00:57:35Z","closed_at":null,"author_association":"NONE","body":"improvement request  -- \r\n**Home Assistant release with the issue:**\r\nv 0.70\r\n**Last working Home Assistant release (if known):**\r\n**Operating environment (Hass.io/Docker/Windows/etc.):**\r\nhass.io\r\n**Component/platform:**\r\nCLIMATE\r\nGENERIC THERMOSTAT\r\n\r\n**Description of problem:**\r\nim using generic thermostat to control an hvac , heat, cool, vent , via mqtt and infrared control .\r\n\r\nall works well , but i couldnt find a way to make the platform to change from heat, cool mode , by an input selector + automation .\r\n the  selection is fixed in the  platform configuration\r\n\r\n   ac_mode = config.get(CONF_AC_MODE) \r\n\r\n**Problem-relevant `configuration.yaml` entries and (fill out even if it seems unimportant):**\r\n\r\n\r\n```\r\n  - platform: generic_thermostat  #  for heating\r\n    name: control_hvac_2_H  # Escritorio\r\n    heater: light.hvac_2_comandos  # switch.hvac_2_H_onOff\r\n    target_sensor: sensor.hvac_2_temperature\r\n    ac_mode:  false\r\n    min_temp: 17\r\n    max_temp: 35\r\n    target_temp: 20\r\n    cold_tolerance: 0.5\r\n    hot_tolerance: 0.5\r\n    min_cycle_duration:\r\n      seconds: 30\r\n    # keep_alive: \r\n    #   minutes: 5\r\n    initial_operation_mode: \"off\"\r\n    away_temp: 24\r\n```\r\n**Traceback (if applicable):**\r\n```\r\n\r\n```\r\n\r\n**Additional information:**\r\n\r\nif added a way to make      **ac_mode:  false**  , able to be set from  an automation , then the same platform could be used , to automate the heating mode as well as the cooling mode , on the same component+platform .\r\n"},"comment":{"url":"https://api.github.com/repos/home-assistant/home-assistant/issues/comments/395612136","html_url":"https://github.com/home-assistant/home-assistant/issues/14862#issuecomment-395612136","issue_url":"https://api.github.com/repos/home-assistant/home-assistant/issues/14862","id":395612136,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTYxMjEzNg==","user":{"login":"dshokouhi","id":1634145,"node_id":"MDQ6VXNlcjE2MzQxNDU=","avatar_url":"https://avatars1.githubusercontent.com/u/1634145?v=4","gravatar_id":"","url":"https://api.github.com/users/dshokouhi","html_url":"https://github.com/dshokouhi","followers_url":"https://api.github.com/users/dshokouhi/followers","following_url":"https://api.github.com/users/dshokouhi/following{/other_user}","gists_url":"https://api.github.com/users/dshokouhi/gists{/gist_id}","starred_url":"https://api.github.com/users/dshokouhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dshokouhi/subscriptions","organizations_url":"https://api.github.com/users/dshokouhi/orgs","repos_url":"https://api.github.com/users/dshokouhi/repos","events_url":"https://api.github.com/users/dshokouhi/events{/privacy}","received_events_url":"https://api.github.com/users/dshokouhi/received_events","type":"User","site_admin":false},"created_at":"2018-06-08T00:57:35Z","updated_at":"2018-06-08T00:57:35Z","author_association":"NONE","body":"For feature requests there is actually a place in the forums:\r\n\r\nhttps://community.home-assistant.io/c/feature-requests\r\n\r\nGithub issues are meant for actual bugs and not feature requests."}}
{"actor":{"display_login":"dshokouhi"}}