Add data description for Onkyo config flow (#132349)

This commit is contained in:
Artur Pragacz 2024-12-05 21:15:40 +01:00 committed by GitHub
parent 5fdd705edf
commit 1ca2f3393c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 16 additions and 6 deletions

View File

@ -7,10 +7,7 @@ rules:
This integration uses a push API. No polling required.
brands: done
common-modules: done
config-flow:
status: todo
comment: |
The data_descriptions are missing.
config-flow: done
config-flow-test-coverage:
status: todo
comment: |

View File

@ -10,18 +10,28 @@
"manual": {
"data": {
"host": "[%key:common::config_flow::data::host%]"
},
"data_description": {
"host": "Hostname or IP address of the receiver."
}
},
"eiscp_discovery": {
"data": {
"device": "[%key:common::config_flow::data::device%]"
},
"data_description": {
"device": "Select the receiver to configure."
}
},
"configure_receiver": {
"description": "Configure {name}",
"data": {
"volume_resolution": "Number of steps it takes for the receiver to go from the lowest to the highest possible volume",
"input_sources": "List of input sources supported by the receiver"
"volume_resolution": "Volume resolution",
"input_sources": "Input sources"
},
"data_description": {
"volume_resolution": "Number of steps it takes for the receiver to go from the lowest to the highest possible volume.",
"input_sources": "List of input sources supported by the receiver."
}
}
},
@ -43,6 +53,9 @@
"init": {
"data": {
"max_volume": "Maximum volume limit (%)"
},
"data_description": {
"max_volume": "Maximum volume limit as a percentage. This will associate Home Assistant's maximum volume to this value on the receiver, i.e., if you set this to 50%, then setting the volume to 100% in Home Assistant will cause the volume on the receiver to be set to 50% of its maximum value."
}
}
}