Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Provides guidelines for building, testing and reviewing Home Assistant integrations, with code and test file locations.
65% 100%+35 ptsof test cases passed
Passed 23 of 23 test cases with the skill, and 15 of 23 without it.
This test ran on v1. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
./homeassistant/components/<integration_domain>/./tests/components/<integration_domain>/data["key"]) over .get("key") so invalid assumptions fail fast.weather.get_forecasts).invalid_auth, cannot_connect) without logging them. If unexpected exceptions are caught, log them with _LOGGER.exception() and map them to unknown. Do not mix translated and untranslated text in an error shown to the user.config_entry property. async_get_options_flow(config_entry) receives the entry, but returns the handler without passing it on, as in the options flow docs. Do not suggest assigning self.config_entry (the setter was removed in 2025.12) or using OptionsFlowWithConfigEntry in core. To type runtime_data, declare config_entry: <Domain>ConfigEntry on the options flow class.The following platforms have extra guidelines:
platform-device-tracker.md for replacing legacy device trackersplatform-diagnostics.md for diagnostic data collectionplatform-repairs.md for user-actionable repair issuesasync_added_to_hass() and async_will_remove_from_hass() have symmetrical behavior. For example, if a subscription is created in async_added_to_hass(), it should be unsubscribed in async_will_remove_from_hass(). Also, if something is torn down in async_will_remove_from_hass(), it should be set up in async_added_to_hass()._attr_* attributes instead of properties for values that never change. Define them as class attributes only when the value is shared by all instances.available, combine it with the parent's value (return super().available and ...).SensorEntity, TrackerEntity) provide a stable API for child classes to inherit from. Do not suggest redeclaring or duplicating attributes, properties, or methods the base class already provides, and do not add guards against the parent's behavior changing — rely on the base class instead.<Prefix>Service and <Prefix>ServiceArgument StrEnums, using the integration's usual class prefix (for example TadoService, AITaskServiceArgument). Integrations define them in services.py, or in const.py when other modules need them; entity platforms define them in const.py and export them.services.yaml. Do not add members for actions that are not registered, such as stale services.yaml entries or description templates for legacy per-platform actions.call.data lookups instead of raw strings or other string constants (whatever their prefix, for example SERVICE_*, ATTR_* or CONF_*). Shared selector fields such as config_entry_id, device_id and entity_id keep using the homeassistant.const constants.services.yaml). Do not flag or suggest them for an integration that already has actions.Next to this one in the catalogue, plus more from the same author.