id: icons-x-fibaro-version topic: hc3-api title: /icons is shaped by the X-Fibaro-Version header pins: - tests/test_hc3.py::test_hc3_remote_sends_fibaro_version_header verified: flua 0.1.167, HC3 5.221


/icons is shaped by the X-Fibaro-Version header

flua's remote REST rides X-Fibaro-Version: 2 (the web UI's shape), and the HC3's /icons answers differently per version:

Gotchas, all live-verified:

Custom icon sets show up under v2 as User<id> entries whose deviceType is the registered type (e.g. com.fibaro.FGWDS221), not the base type — match children with isTypeOf, see istypeof-vs-type.