85a86c3f11485148890cb836e95918415bf3303f
* added config flow for telegram integration * added chat id in config entry title and added config flow tests * fix import issue when there are no notifiers in configuration.yaml * Revert "fix import issue when there are no notifiers in configuration.yaml" This reverts commit b5b83e2a9a5d8cd1572f3e8c36e360b0de80b58b. * Revert "added chat id in config entry title and added config flow tests" This reverts commit 30c2bb4ae4d850dae931a5f7e1525cf19e3be5d8. * Revert "added config flow for telegram integration" This reverts commit 1f44afcd45e3a017b8c5f681dc39a160617018ce. * added config and subentry flows * added options flow to configure webhooks * refactor module setup so it only load once * moved service registration from async_setup_entry to async_setup * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * import only last yaml config * import only last yaml config * reduced scope of try-block * create issue when importing from yaml * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * handle options update by reloading telegram bot * handle import errors for create issue * include bot's platform when creating issues * handle options reload without needing HA restart * moved url and trusted_networks inputs from options to new config flow step * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * minor fixes * refactor config flow * moved constants to const.py * Apply suggestions from code review Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/telegram_bot/config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/telegram_bot/config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/telegram_bot/config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * added options flow tests * Update homeassistant/components/telegram_bot/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/telegram_bot/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/telegram_bot/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/telegram_bot/config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * Update homeassistant/components/telegram_bot/config_flow.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * added reconfigure flow * added reauth flow * added tests for reconfigure flow * added tests for reauth * added tests for subentry flow * added tests for user and webhooks flow with error scenarios * added import flow tests * handle webhook deregister exception * added config entry id to all services * fix leave chat bug * Update homeassistant/components/telegram_bot/__init__.py Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * removed leave chat bug fixes * Update homeassistant/components/telegram_bot/strings.json Co-authored-by: Martin Hjelmare <marhje52@gmail.com> * handle other error types for import * reuse translations * added test for duplicated config entry for user step * added tests --------- Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
…
…
…
Home Assistant |Chat Status| ================================================================================= Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Check out `home-assistant.io <https://home-assistant.io>`__ for `a demo <https://demo.home-assistant.io>`__, `installation instructions <https://home-assistant.io/getting-started/>`__, `tutorials <https://home-assistant.io/getting-started/automation/>`__ and `documentation <https://home-assistant.io/docs/>`__. |screenshot-states| Featured integrations --------------------- |screenshot-integrations| The system is built using a modular approach so support for other devices or actions can be implemented easily. See also the `section on architecture <https://developers.home-assistant.io/docs/architecture_index/>`__ and the `section on creating your own components <https://developers.home-assistant.io/docs/creating_component_index/>`__. If you run into issues while using Home Assistant or during development of a component, check the `Home Assistant help section <https://home-assistant.io/help/>`__ of our website for further help and information. |ohf-logo| .. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg :target: https://www.home-assistant.io/join-chat/ .. |screenshot-states| image:: https://raw.githubusercontent.com/home-assistant/core/dev/.github/assets/screenshot-states.png :target: https://demo.home-assistant.io .. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/.github/assets/screenshot-integrations.png :target: https://home-assistant.io/integrations/ .. |ohf-logo| image:: https://www.openhomefoundation.org/badges/home-assistant.png :alt: Home Assistant - A project from the Open Home Foundation :target: https://www.openhomefoundation.org/
Description
Languages
Python
100%