Add state translation to Reolink AI detections (#118560)
parent
d956db691a
commit
51d8f83a54
|
@ -86,73 +86,153 @@
|
||||||
"entity": {
|
"entity": {
|
||||||
"binary_sensor": {
|
"binary_sensor": {
|
||||||
"face": {
|
"face": {
|
||||||
"name": "Face"
|
"name": "Face",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"person": {
|
"person": {
|
||||||
"name": "Person"
|
"name": "Person",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"vehicle": {
|
"vehicle": {
|
||||||
"name": "Vehicle"
|
"name": "Vehicle",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"pet": {
|
"pet": {
|
||||||
"name": "Pet"
|
"name": "Pet",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"animal": {
|
"animal": {
|
||||||
"name": "Animal"
|
"name": "Animal",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"visitor": {
|
"visitor": {
|
||||||
"name": "Visitor"
|
"name": "Visitor"
|
||||||
},
|
},
|
||||||
"package": {
|
"package": {
|
||||||
"name": "Package"
|
"name": "Package",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"motion_lens_0": {
|
"motion_lens_0": {
|
||||||
"name": "Motion lens 0"
|
"name": "Motion lens 0",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"face_lens_0": {
|
"face_lens_0": {
|
||||||
"name": "Face lens 0"
|
"name": "Face lens 0",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"person_lens_0": {
|
"person_lens_0": {
|
||||||
"name": "Person lens 0"
|
"name": "Person lens 0",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"vehicle_lens_0": {
|
"vehicle_lens_0": {
|
||||||
"name": "Vehicle lens 0"
|
"name": "Vehicle lens 0",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"pet_lens_0": {
|
"pet_lens_0": {
|
||||||
"name": "Pet lens 0"
|
"name": "Pet lens 0",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"animal_lens_0": {
|
"animal_lens_0": {
|
||||||
"name": "Animal lens 0"
|
"name": "Animal lens 0",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"visitor_lens_0": {
|
"visitor_lens_0": {
|
||||||
"name": "Visitor lens 0"
|
"name": "Visitor lens 0"
|
||||||
},
|
},
|
||||||
"package_lens_0": {
|
"package_lens_0": {
|
||||||
"name": "Package lens 0"
|
"name": "Package lens 0",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"motion_lens_1": {
|
"motion_lens_1": {
|
||||||
"name": "Motion lens 1"
|
"name": "Motion lens 1",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"face_lens_1": {
|
"face_lens_1": {
|
||||||
"name": "Face lens 1"
|
"name": "Face lens 1",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"person_lens_1": {
|
"person_lens_1": {
|
||||||
"name": "Person lens 1"
|
"name": "Person lens 1",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"vehicle_lens_1": {
|
"vehicle_lens_1": {
|
||||||
"name": "Vehicle lens 1"
|
"name": "Vehicle lens 1",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"pet_lens_1": {
|
"pet_lens_1": {
|
||||||
"name": "Pet lens 1"
|
"name": "Pet lens 1",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"animal_lens_1": {
|
"animal_lens_1": {
|
||||||
"name": "Animal lens 1"
|
"name": "Animal lens 1",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"visitor_lens_1": {
|
"visitor_lens_1": {
|
||||||
"name": "Visitor lens 1"
|
"name": "Visitor lens 1"
|
||||||
},
|
},
|
||||||
"package_lens_1": {
|
"package_lens_1": {
|
||||||
"name": "Package lens 1"
|
"name": "Package lens 1",
|
||||||
|
"state": {
|
||||||
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
||||||
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"button": {
|
"button": {
|
||||||
|
|
Loading…
Reference in New Issue