* Added template base type Proposition to add typing, as pre-commit test on newly created integrations fails on it automatically: ``` homeassistant/components/<my_integration>/__init__.py:11: error: Need type annotation for "PLATFORMS" (hint: "PLATFORMS: List[<type>] = ...") [var-annotated] Found 1 error in 1 file (checked 4 source files) ``` I believe there shouldn't be other type than text, hence the proposition. * Apply suggestions from code review Co-authored-by: Joakim Sørensen <hi@ludeeus.dev> Co-authored-by: Joakim Sørensen <hi@ludeeus.dev> |
||
---|---|---|
.. | ||
config_flow | ||
config_flow_discovery/integration | ||
config_flow_oauth2 | ||
device_action | ||
device_condition | ||
device_trigger | ||
integration/integration | ||
reproduce_state | ||
significant_change |