feat: Add config flow for SmartIR integration with multi-step UI wizard
- Implemented a new config flow in `config_flow.py` for SmartIR, allowing users to select platforms, controllers, and devices through a guided interface. - Added support for new device codes in `codes_index.json` for Apton and Andersson manufacturers. - Enhanced fan, light, and media player components to support setup from config entries. - Introduced `strings.json` and `translations/en.json` for improved localization of the configuration steps. - Created a tool `build_index.py` to rebuild the `codes_index.json` from individual device JSON files. - Updated `smartir_capture.py` to handle single-code modes and excluded modes for better device configuration. - Added `iot_class` and `config_flow` attributes in `manifest.json` to support the new configuration flow.
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
"28": "JgDKAI+REjURERE1ETYREBIQETYQEhASEDYREREREDYRNhEQEjURERERERARNhE1EjURNRE2EDYRNRE2EREREBIQEhAQEhE1EhARERERERERNRIQEhARERE1ETYRNRE2EREQNhA2EK6PkRI1EBIQNhE1EhARERA2EhEQERE2EREQEhA2ETURERA3ERASEBEREDcRNRE1EjURNRE1EjUQNhIQEhAQEhASEBIQNhEREBMQERASEDYRERERERIQNRE1ETYQNhERETURNhAADQUAAAAAAAAAAAAAAAAAAA==",
|
||||
"29": "JgDKAI+SETUQEhE1EjURERASETUREg8TDzYRERERETUSNRASETUSERAREBIQNhE2EDYRNRE2EDYSNRA2EREREg8SEBIQEhE1ERERNRIQERERNhEQERIQERE2EBIQNhE1ERESNRE1EK6PkRE1ERERNhE1ERIPEhA2EhEREBE2ERASERE1ETURERE2ERARERERETYQNhE1EjUQNhI1ETURNREREhARERERERIQNRERETYQEhEREDYRERASEBIRNREREDYRNhEREDYQNhAADQUAAAAAAAAAAAAAAAAAAA==",
|
||||
"30": "JgDKAI+RETYQERE2ETUSEBEREDYRERIQETYREBESETUQNhERETYQERIQERERNhE1EDYSNRA2ETYQNhA2ERESEBEREBIREhA1ERERNRE2ERIQNRERERERERA2ERIPExA1EhARNhA2EK6PkRE1EREQNhI1EREQExA1EREQEhE1EhAQEhE2ETUQEhA2ERIQEREREDYRNhE1ETURNhE1ETURNhESEBERERARERIQNhASETURNRIQETYRERASERASNRASERERNRASETURNREADQUAAAAAAAAAAAAAAAAAAA=="
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user