* Consequently ignore empty MQTT state payloads and set state to `unknown` on "None" payload
* Do not change preset mode behavior
* Add device tracker ignoring empty state
* Ignore empty state for lock
* Resolve merge errors
* Require device id when registering timer handlers
* Require device id for timer intents
* Raise errors for unregistered device ids
* Add callback
* Add types for callback to __all__
* Clean up
* More clean up
* Add types to event tracker data
* fixes
* do not test event internals in other tests
* fixes
* Update homeassistant/helpers/event.py
* cleanup
* cleanup
* Initial commit
* add basic tests (will probably fail)
* Set basic UID for now
* Various improvements
* use new naming convention?
* bit by bit, still not working tho
* Add tz selection
* Remove failing tests
* update unique_id
* add the tests again
* revert to previous binary_sensor test
* remove translations
* apply suggestions
* remove const.py
* Address review
* revert changes
* Initial fixes for tests
* Initial commit
* add basic tests (will probably fail)
* Set basic UID for now
* Various improvements
* use new naming convention?
* bit by bit, still not working tho
* Add tz selection
* Remove failing tests
* update unique_id
* add the tests again
* revert to previous binary_sensor test
* remove translations
* apply suggestions
* remove const.py
* Address review
* revert changes
* Fix bad merges in rebase
* Get tests to run again
* Fixes due to fails in ruff/pylint
* Fix binary sensor tests
* Fix config flow tests
* Fix sensor tests
* Apply review
* Adjust candle lights
* Apply suggestion
* revert unrelated change
* Address some of the comments
* We should only allow a single jewish calendar config entry
* Make data schema easier to read
* Add test and confirm only single entry is allowed
* Move OPTIONS_SCHEMA to top of file
* Add options test
* Simplify import tests
* Test import end2end
* Use a single async_forward_entry_setups statement
* Revert schema updates for YAML schema
* Remove unneeded brackets
* Remove CONF_NAME from config_flow
* Assign hass.data[DOMAIN][config_entry.entry_id] to a local variable before creating the sensors
* Data doesn't have a name remove slugifying of it
* Test that the entry has been created correctly
* Simplify setup_entry
* Use suggested values helper and flatten location dictionary
* Remove the string for name exists as this error doesn't exist
* Remove name from config entry
* Remove _attr_has_entity_name - will be added in a subsequent PR
* Don't override entity id's - we'll fixup the naming later
* Make location optional - will by default revert to the user's home location
* Update homeassistant/components/jewish_calendar/strings.json
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* No need for local lat/long variable
* Return name attribute, will deal with it in another PR
* Revert unique_id changes, will deal with this in a subsequent PR
* Add time zone data description
* Don't break the YAML config until the user has removed it.
* Cleanup initial config flow test
---------
Co-authored-by: Tsvi Mostovicz <ttmost@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
* Improve error logging on invalid MQTT entity state
* Explain not hanlding TpeError and ValueError
* Move length check closer to source
* use _LOGGER.exception
Tests using `setup_comp_4` and `setup_comp_6` have been replaced by a parameterized tests in #105643. Tests using `setup_comp_5` are therefore still duplicates and are removed.
* Add cover
* Test coverage
* Json lint
* Apply suggestions from code review
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Update tests
* Fix features
* Update snapshot from fixture
* Apply suggestions from code review
---------
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
* Create bound callback_message_received method for handling mqtt callbacks
* refactor a bit
* fix ruff
* reduce overhead
* cleanup
* cleanup
* Revert changes alarm_control_panel
* Add sensor and binary sensor
* use same pattern for MqttAttributes/MqttAvailability
* remove useless function since we did not need to add to it
* code cleanup
* collapse
---------
Co-authored-by: J. Nick Koston <nick@koston.org>