github IAsDoubleYou/homeassistant-mysql_query v1.9.0
v1.9.0 - Translations, Safe JSON Serialization & Performance Cleanup

latest releases: v4.2.1, v4.2.0, v4.1.0...
3 months ago

Added

  • translations/en.json and translations/nl.json, so Home Assistant actually loads the config-flow titles, field labels, error messages, and service descriptions. Previously only strings.json existed, which HA does not read for custom integrations.
  • Conversion of MySQL-native column types into JSON-serialisable values before they are returned from the services: DECIMAL to float, DATE/DATETIME/TIME-of-day to ISO 8601, TIME (returned as timedelta) to [-]HH:MM:SS[.ffffff], SET to a sorted list, and non-finite numbers to null. Nested JSON column values are converted recursively; unknown objects fall back to their string form.
  • Tests for the new value conversion, both as unit tests per type and end to end through the execute service response.

Changed

  • The debugpy remote-debugger listener has been removed from the production code. Attach a debugger from the Home Assistant side (or the debugpy integration) instead of having the component open a port.

Fixed

  • Unloading a config entry no longer calls the blocking is_connected() check on the event loop; the connectivity check and the close now run together in the executor.

Don't miss a new homeassistant-mysql_query release

NewReleases is sending notifications on new releases.