You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix mypy type errors, failing tests, and add safety warnings
- Add ConfigEntry None checks in coordinator.py to satisfy mypy
- Add proper type annotations for select entities list in select.py
- Add dict[str, Any] annotation for attrs in extra_state_attributes
- Remove unused type:ignore comment from climate.py
- Update coordinator tests to pass config_entry parameter
- Update options flow test to expect experimental_features in result
- Add detailed safety warnings in strings.json about remote temperature risks
Copy file name to clipboardExpand all lines: custom_components/mitsubishi/strings.json
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,8 @@
38
38
"external_temperature_entity": "External Temperature Sensor"
39
39
},
40
40
"data_description": {
41
-
"experimental_features": "Enable experimental features like remote temperature sensor support. These features may change or be removed in future versions.",
42
-
"external_temperature_entity": "Select a temperature sensor to use as the room temperature when Remote mode is selected. Leave empty to only use the internal sensor."
41
+
"experimental_features": "Enable experimental features like remote temperature sensor support. These features may change or be removed in future versions. WARNING: The remote temperature feature should NOT be used for critical heating/cooling needs. If your Home Assistant server goes offline, your external sensor becomes unavailable, or provides invalid readings, the AC will NOT automatically revert to its internal sensor. You must manually switch back to Internal mode.",
42
+
"external_temperature_entity": "Select a temperature sensor to use as the room temperature when Remote mode is selected. Leave empty to only use the internal sensor. The AC must receive regular temperature updates - if updates stop, the AC continues using the last received value indefinitely."
0 commit comments