Use common state for "Auto" in reolink (#142971)

The common state replaces the internal references, too.
This commit is contained in:
Norbert Rittel 2025-04-15 08:12:30 +02:00 committed by GitHub
parent 4950bda406
commit 514f83cc96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -652,7 +652,7 @@
"name": "Floodlight mode", "name": "Floodlight mode",
"state": { "state": {
"off": "[%key:common::state::off%]", "off": "[%key:common::state::off%]",
"auto": "[%key:component::reolink::entity::select::day_night_mode::state::auto%]", "auto": "[%key:common::state::auto%]",
"onatnight": "On at night", "onatnight": "On at night",
"schedule": "Schedule", "schedule": "Schedule",
"adaptive": "Adaptive", "adaptive": "Adaptive",
@ -662,7 +662,7 @@
"day_night_mode": { "day_night_mode": {
"name": "Day night mode", "name": "Day night mode",
"state": { "state": {
"auto": "Auto", "auto": "[%key:common::state::auto%]",
"color": "Color", "color": "Color",
"blackwhite": "Black & white" "blackwhite": "Black & white"
} }
@ -691,7 +691,7 @@
"name": "Doorbell LED", "name": "Doorbell LED",
"state": { "state": {
"stayoff": "Stay off", "stayoff": "Stay off",
"auto": "[%key:component::reolink::entity::select::day_night_mode::state::auto%]", "auto": "[%key:common::state::auto%]",
"alwaysonatnight": "Auto & always on at night", "alwaysonatnight": "Auto & always on at night",
"always": "Always on", "always": "Always on",
"alwayson": "Always on" "alwayson": "Always on"
@ -702,7 +702,7 @@
"state": { "state": {
"off": "[%key:common::state::off%]", "off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]", "on": "[%key:common::state::on%]",
"auto": "[%key:component::reolink::entity::select::day_night_mode::state::auto%]" "auto": "[%key:common::state::auto%]"
} }
}, },
"binning_mode": { "binning_mode": {
@ -710,7 +710,7 @@
"state": { "state": {
"off": "[%key:common::state::off%]", "off": "[%key:common::state::off%]",
"on": "[%key:common::state::on%]", "on": "[%key:common::state::on%]",
"auto": "[%key:component::reolink::entity::select::day_night_mode::state::auto%]" "auto": "[%key:common::state::auto%]"
} }
}, },
"hub_alarm_ringtone": { "hub_alarm_ringtone": {