Running HA Core 2026.8.0 with Custom VeSync v1.4.0 (latest; also present on main). Startup logs:
The deprecated constant CONCENTRATION_MICROGRAMS_PER_CUBIC_METER was used from vesync.
It will be removed in HA Core 2027.8. Use UnitOfDensity.MICROGRAMS_PER_CUBIC_METER instead
Source: custom_components/vesync/sensor.py — import at line 12, usages at lines 375, 412, 449. Fix: replace CONCENTRATION_MICROGRAMS_PER_CUBIC_METER with UnitOfDensity.MICROGRAMS_PER_CUBIC_METER.
Running HA Core 2026.8.0 with Custom VeSync v1.4.0 (latest; also present on
main). Startup logs:Source:
custom_components/vesync/sensor.py— import at line 12, usages at lines 375, 412, 449. Fix: replaceCONCENTRATION_MICROGRAMS_PER_CUBIC_METERwithUnitOfDensity.MICROGRAMS_PER_CUBIC_METER.