type HAmqttOptions = { debug: boolean; topics: { homeassistant: string; flic: string; }; }; type MQTTPublishOpt = { retain?: boolean; // the server should retain this message and send it out again to new subscribers dup?: boolean; // indicate the message is a duplicate because original wasn't ACKed (QoS > 0 only) }; type ButtonControllerOpt = { debug: boolean; }; type IRControllerOpt = { uniqueId: string; debug: boolean; }; type FlicHubOptions = { uniqueId: string; debug: boolean; }; type MQTTOpt = { host: string; port: number; client_id: string; keep_alive: boolean; clean_session: boolean; username: string; password: string; }; type Options = { mqtt: Partial & { host: string }; debug?: boolean; ha?: Partial; flicBtns?: Partial & { disabled?: boolean }; flicIR?: Partial & { disabled?: boolean }; flicHub?: Partial & { disabled?: boolean }; };