* Publish raw rendered mqtt payload as raw for mqtt publish action
* Move check out of try block
* Only try to eval `bytes` is payload starts with supported string
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Improve docst
* Add `evaluate_bytes` option to publish action
* Rename to `evaluate_payload`
* Update homeassistant/components/mqtt/strings.json
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Extend test to assert literal_eval is called or not
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Adjustments to requests and update interval due to rate limiting
* Use debounced refresh for to-do lists
* Use debounced refresh in switch and buttons
* Request refresh only if a to-do was changed
* Update task order provisionally in the coordinator
* Do a sanity check of schema passed to EntityPlatform.async_register_entity_service
* Only attempt to check schema of Schema
* Handle All/Any wrapped in schema
* Clarify comment
* Apply suggestions from code review
Co-authored-by: Robert Resch <robert@resch.dev>
---------
Co-authored-by: Robert Resch <robert@resch.dev>
* add warning comment
* make comments smaller and put at top
* Update homeassistant/components/totalconnect/alarm_control_panel.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
* Add config flow to select platform in Template
* Remove device id duplicate in schema
* Add config flow for number platform in Template
* Remove mode
* Add tests
* Fix entity test
* Format
* Fix sensor tests
* Fix sensor tests
* Fix sensor tests
* Add init tests
* Change service info
* Rename test_sensor parameters
* Removce ConfigEntryState.LOADED assertion
* Remove platforms parameter from setup_platform
* Rename setup_platform to setup_integration
* Fixture for blind_type and mock_config_entry
* Use mock for MotionDevice
* Use mock for MotionDevice
* Add type hint
* Use Mock instead of patch
* Use mock_config_entry fixture
* Move constants to init
* Fix entity_id name
* Use fixture
* Use fixtures instead of constants
* Use display_name fixture
* Rename mac to mac_code
* Remove one patch
* Use fixtures for mock_config_entry
* Apply suggestion
* Replace patch with mock
* Replace patch with mock
* Replace patch with mock
* Fix
* Use pytest.mark.usefixtures if parameter not used
* Base mac code on address
* Remove if statement from entity test
---------
Co-authored-by: Joostlek <joostlek@outlook.com>
* fix yamaha remove info logging
* ruff
* fix yamnaha supress rxv.find UnicodeDecodeError
* fix formatting
* make more realistic
* make more realistic and use parms
* add value error after more feedback
* ruff format
* Update homeassistant/components/yamaha/media_player.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
* remove unused method
* add more debugging
* Increase discovery timeout add more debug allow config to overrite dicovery for name
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>