Not very sure I understand the CI failure, but making the binary sensor based on fault code more similar to the linked example.
@@ -48,12 +48,15 @@ secondary_entities:
category: diagnostic
dps:
- id: 12
- name: error
type: bitfield
+ name: sensor
mapping:
- dps_val: 0
value: false
- value: true
+ - id: 12
+ type: bitfield
+ name: fault_code
- entity: light
translation_key: backlight