Skip to content

Commit

Permalink
fix: Set entity category to configuration for Sonoff TRVZB open/close…
Browse files Browse the repository at this point in the history
… degree entities (#7573)
  • Loading branch information
blacknell authored May 30, 2024
1 parent 38af5bc commit e7ca0f8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/devices/sonoff.ts
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ const definitions: Definition[] = [
name: 'valve_opening_degree',
cluster: 'customSonoffTrvzb',
attribute: 'valveOpeningDegree',
entityCategory: 'config',
description: 'Valve open position (percentage) control. ' +
'If the opening degree is set to 100%, the valve is fully open when it is opened. ' +
'If the opening degree is set to 0%, the valve is fully closed when it is opened, ' +
Expand All @@ -984,6 +985,7 @@ const definitions: Definition[] = [
name: 'valve_closing_degree',
cluster: 'customSonoffTrvzb',
attribute: 'valveClosingDegree',
entityCategory: 'config',
description: 'Valve closed position (percentage) control. ' +
'If the closing degree is set to 100%, the valve is fully closed when it is closed. ' +
'If the closing degree is set to 0%, the valve is fully opened when it is closed, ' +
Expand Down

0 comments on commit e7ca0f8

Please sign in to comment.