mirror of
https://github.com/home-assistant/core.git
synced 2025-08-13 17:45:19 +02:00
Use occupancy translation instead of gas (point to the same thing).
This commit is contained in:
@@ -176,36 +176,36 @@
|
|||||||
"face": {
|
"face": {
|
||||||
"name": "Face",
|
"name": "Face",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"person": {
|
"person": {
|
||||||
"name": "Person",
|
"name": "Person",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vehicle": {
|
"vehicle": {
|
||||||
"name": "Vehicle",
|
"name": "Vehicle",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pet": {
|
"pet": {
|
||||||
"name": "Pet",
|
"name": "Pet",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"animal": {
|
"animal": {
|
||||||
"name": "Animal",
|
"name": "Animal",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"visitor": {
|
"visitor": {
|
||||||
@@ -214,57 +214,57 @@
|
|||||||
"package": {
|
"package": {
|
||||||
"name": "Package",
|
"name": "Package",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"cry": {
|
"cry": {
|
||||||
"name": "Baby crying",
|
"name": "Baby crying",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"motion_lens_0": {
|
"motion_lens_0": {
|
||||||
"name": "Motion lens 0",
|
"name": "Motion lens 0",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"face_lens_0": {
|
"face_lens_0": {
|
||||||
"name": "Face lens 0",
|
"name": "Face lens 0",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"person_lens_0": {
|
"person_lens_0": {
|
||||||
"name": "Person lens 0",
|
"name": "Person lens 0",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vehicle_lens_0": {
|
"vehicle_lens_0": {
|
||||||
"name": "Vehicle lens 0",
|
"name": "Vehicle lens 0",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pet_lens_0": {
|
"pet_lens_0": {
|
||||||
"name": "Pet lens 0",
|
"name": "Pet lens 0",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"animal_lens_0": {
|
"animal_lens_0": {
|
||||||
"name": "Animal lens 0",
|
"name": "Animal lens 0",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"visitor_lens_0": {
|
"visitor_lens_0": {
|
||||||
@@ -273,50 +273,50 @@
|
|||||||
"package_lens_0": {
|
"package_lens_0": {
|
||||||
"name": "Package lens 0",
|
"name": "Package lens 0",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"motion_lens_1": {
|
"motion_lens_1": {
|
||||||
"name": "Motion lens 1",
|
"name": "Motion lens 1",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"face_lens_1": {
|
"face_lens_1": {
|
||||||
"name": "Face lens 1",
|
"name": "Face lens 1",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"person_lens_1": {
|
"person_lens_1": {
|
||||||
"name": "Person lens 1",
|
"name": "Person lens 1",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vehicle_lens_1": {
|
"vehicle_lens_1": {
|
||||||
"name": "Vehicle lens 1",
|
"name": "Vehicle lens 1",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pet_lens_1": {
|
"pet_lens_1": {
|
||||||
"name": "Pet lens 1",
|
"name": "Pet lens 1",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"animal_lens_1": {
|
"animal_lens_1": {
|
||||||
"name": "Animal lens 1",
|
"name": "Animal lens 1",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"visitor_lens_1": {
|
"visitor_lens_1": {
|
||||||
@@ -325,8 +325,8 @@
|
|||||||
"package_lens_1": {
|
"package_lens_1": {
|
||||||
"name": "Package lens 1",
|
"name": "Package lens 1",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sleep": {
|
"sleep": {
|
||||||
@@ -339,78 +339,78 @@
|
|||||||
"crossline_person": {
|
"crossline_person": {
|
||||||
"name": "Crossline {zone_name} person",
|
"name": "Crossline {zone_name} person",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"crossline_vehicle": {
|
"crossline_vehicle": {
|
||||||
"name": "Crossline {zone_name} vehicle",
|
"name": "Crossline {zone_name} vehicle",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"crossline_dog_cat": {
|
"crossline_dog_cat": {
|
||||||
"name": "Crossline {zone_name} animal",
|
"name": "Crossline {zone_name} animal",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"intrusion_person": {
|
"intrusion_person": {
|
||||||
"name": "Intrusion {zone_name} person",
|
"name": "Intrusion {zone_name} person",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"intrusion_vehicle": {
|
"intrusion_vehicle": {
|
||||||
"name": "Intrusion {zone_name} vehicle",
|
"name": "Intrusion {zone_name} vehicle",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"intrusion_dog_cat": {
|
"intrusion_dog_cat": {
|
||||||
"name": "Intrusion {zone_name} animal",
|
"name": "Intrusion {zone_name} animal",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"linger_person": {
|
"linger_person": {
|
||||||
"name": "Linger {zone_name} person",
|
"name": "Linger {zone_name} person",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"linger_vehicle": {
|
"linger_vehicle": {
|
||||||
"name": "Linger {zone_name} vehicle",
|
"name": "Linger {zone_name} vehicle",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"linger_dog_cat": {
|
"linger_dog_cat": {
|
||||||
"name": "Linger {zone_name} animal",
|
"name": "Linger {zone_name} animal",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"forgotten_item": {
|
"forgotten_item": {
|
||||||
"name": "Item forgotten {zone_name}",
|
"name": "Item forgotten {zone_name}",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"taken_item": {
|
"taken_item": {
|
||||||
"name": "Item taken {zone_name}",
|
"name": "Item taken {zone_name}",
|
||||||
"state": {
|
"state": {
|
||||||
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
"off": "[%key:component::binary_sensor::entity_component::occupancy::state::off%]",
|
||||||
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
"on": "[%key:component::binary_sensor::entity_component::occupancy::state::on%]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user