mirror of
https://github.com/home-assistant/core.git
synced 2026-09-13 10:06:37 -05:00
a848dc11556624f8ebf2a09aff7192b84ab4f66e
* Add Picnic services for searching products and adding products to the cart * Improve the Picnic services implementation and add unit tests * Fix pre-commit check issues * Fix comments and example product name * Remove search service, update add_product service schema * Fix pylint suggestion * Add more tests and removed unused code * Remove code needed for the removed service, clean tests from obvious comments and add type hints * Remove unused import * Remove unnecessary comments and simplify getting the config entry id Co-authored-by: Allen Porter <allen.porter@gmail.com> * Don't use hass.data in tests, make device id mandatory for service * Rewrite all service tests so using lru.cache is not needed * Add test for uncovered line in _product_search() * Require a config entry id as service parameter instead of device id * Use explicit check in get_api_client() and raise HomeAssistantError * Fix HomeAssistantError import, fix services tests * Change HomeAssistantError to ValueError when config entry is not found Co-authored-by: Allen Porter <allen.porter@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://home-assistant.io/demo/>`__, `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. .. |Chat Status| image:: https://img.shields.io/discord/330944238910963714.svg :target: https://discord.gg/c5DvZ4e .. |screenshot-states| image:: https://raw.githubusercontent.com/home-assistant/core/master/docs/screenshots.png :target: https://home-assistant.io/demo/ .. |screenshot-integrations| image:: https://raw.githubusercontent.com/home-assistant/core/dev/docs/screenshot-integrations.png :target: https://home-assistant.io/integrations/
Languages
Python
100%