Replace manual isinstance checks and casts with py_typecheck.checked() to validate hass and entry data and return early on errors. Simplify add_new_sensors by unwrapping values, renaming vars, and passing the coordinator to WeatherSensor |
||
|---|---|---|
| .. | ||
| sws12500 | ||