Add support for Shelly device generation detection and update related tests

- Implement generation detection logic for Shelly devices using model codes, metadata, and type inference.
- Extend relay switch and inventory handling to include generation capabilities.
- Ensure compatibility with Gen1, Gen2, and Gen3 devices for relay control and diagnostics.
- Update unit tests to validate generation inference, fallback behavior, and API compatibility.
This commit is contained in:
Jeppe Bundgaard
2026-04-27 17:40:39 +02:00
parent ae5cb7c65f
commit e93d3f30d2
11 changed files with 1022 additions and 74 deletions
File diff suppressed because one or more lines are too long