guard against NaN brightness from incomplete MQTT state, sync cached accessory display names

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-08 19:32:01 +01:00
parent 2011974c96
commit 494a184866
16 changed files with 345 additions and 294 deletions

13
dist/platform.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
import { API, DynamicPlatformPlugin, Logger, PlatformAccessory, PlatformConfig, Service, Characteristic } from 'homebridge';
export declare class ESPHomeRGBWWPlatform implements DynamicPlatformPlugin {
readonly log: Logger;
readonly config: PlatformConfig;
readonly api: API;
readonly Service: typeof Service;
readonly Characteristic: typeof Characteristic;
readonly accessories: PlatformAccessory[];
constructor(log: Logger, config: PlatformConfig, api: API);
configureAccessory(accessory: PlatformAccessory): void;
discoverDevices(): void;
}
//# sourceMappingURL=platform.d.ts.map