2019-09-22 18:13:17 +00:00
|
|
|
{
|
2020-04-16 18:52:27 +00:00
|
|
|
"title": "Binary sensor",
|
2019-09-22 18:13:17 +00:00
|
|
|
"device_automation": {
|
|
|
|
"condition_type": {
|
|
|
|
"is_bat_low": "{entity_name} battery is low",
|
|
|
|
"is_not_bat_low": "{entity_name} battery is normal",
|
2023-05-24 06:22:52 +00:00
|
|
|
"is_charging": "{entity_name} is charging",
|
|
|
|
"is_not_charging": "{entity_name} is not charging",
|
2021-12-28 20:33:21 +00:00
|
|
|
"is_co": "{entity_name} is detecting carbon monoxide",
|
|
|
|
"is_no_co": "{entity_name} is not detecting carbon monoxide",
|
2019-09-22 18:13:17 +00:00
|
|
|
"is_cold": "{entity_name} is cold",
|
|
|
|
"is_not_cold": "{entity_name} is not cold",
|
|
|
|
"is_connected": "{entity_name} is connected",
|
|
|
|
"is_not_connected": "{entity_name} is disconnected",
|
|
|
|
"is_gas": "{entity_name} is detecting gas",
|
|
|
|
"is_no_gas": "{entity_name} is not detecting gas",
|
|
|
|
"is_hot": "{entity_name} is hot",
|
|
|
|
"is_not_hot": "{entity_name} is not hot",
|
|
|
|
"is_light": "{entity_name} is detecting light",
|
|
|
|
"is_no_light": "{entity_name} is not detecting light",
|
|
|
|
"is_locked": "{entity_name} is locked",
|
|
|
|
"is_not_locked": "{entity_name} is unlocked",
|
|
|
|
"is_moist": "{entity_name} is moist",
|
|
|
|
"is_not_moist": "{entity_name} is dry",
|
|
|
|
"is_motion": "{entity_name} is detecting motion",
|
|
|
|
"is_no_motion": "{entity_name} is not detecting motion",
|
|
|
|
"is_moving": "{entity_name} is moving",
|
|
|
|
"is_not_moving": "{entity_name} is not moving",
|
|
|
|
"is_occupied": "{entity_name} is occupied",
|
|
|
|
"is_not_occupied": "{entity_name} is not occupied",
|
|
|
|
"is_plugged_in": "{entity_name} is plugged in",
|
|
|
|
"is_not_plugged_in": "{entity_name} is unplugged",
|
|
|
|
"is_powered": "{entity_name} is powered",
|
|
|
|
"is_not_powered": "{entity_name} is not powered",
|
|
|
|
"is_present": "{entity_name} is present",
|
|
|
|
"is_not_present": "{entity_name} is not present",
|
|
|
|
"is_problem": "{entity_name} is detecting problem",
|
|
|
|
"is_no_problem": "{entity_name} is not detecting problem",
|
2021-10-25 21:05:27 +00:00
|
|
|
"is_running": "{entity_name} is running",
|
|
|
|
"is_not_running": "{entity_name} is not running",
|
2019-09-22 18:13:17 +00:00
|
|
|
"is_unsafe": "{entity_name} is unsafe",
|
|
|
|
"is_not_unsafe": "{entity_name} is safe",
|
|
|
|
"is_smoke": "{entity_name} is detecting smoke",
|
|
|
|
"is_no_smoke": "{entity_name} is not detecting smoke",
|
|
|
|
"is_sound": "{entity_name} is detecting sound",
|
|
|
|
"is_no_sound": "{entity_name} is not detecting sound",
|
2021-10-16 21:30:52 +00:00
|
|
|
"is_tampered": "{entity_name} is detecting tampering",
|
|
|
|
"is_not_tampered": "{entity_name} is not detecting tampering",
|
2021-08-16 23:30:32 +00:00
|
|
|
"is_update": "{entity_name} has an update available",
|
|
|
|
"is_no_update": "{entity_name} is up-to-date",
|
2019-09-22 18:13:17 +00:00
|
|
|
"is_vibration": "{entity_name} is detecting vibration",
|
|
|
|
"is_no_vibration": "{entity_name} is not detecting vibration",
|
|
|
|
"is_open": "{entity_name} is open",
|
|
|
|
"is_not_open": "{entity_name} is closed",
|
2023-07-10 10:56:51 +00:00
|
|
|
"is_on": "[%key:common::device_automation::condition_type::is_on%]",
|
|
|
|
"is_off": "[%key:common::device_automation::condition_type::is_off%]"
|
2019-09-22 18:13:17 +00:00
|
|
|
},
|
|
|
|
"trigger_type": {
|
|
|
|
"bat_low": "{entity_name} battery low",
|
|
|
|
"not_bat_low": "{entity_name} battery normal",
|
2023-05-24 06:22:52 +00:00
|
|
|
"charging": "{entity_name} charging",
|
|
|
|
"not_charging": "{entity_name} not charging",
|
2021-12-28 20:33:21 +00:00
|
|
|
"co": "{entity_name} started detecting carbon monoxide",
|
|
|
|
"no_co": "{entity_name} stopped detecting carbon monoxide",
|
2019-09-22 18:13:17 +00:00
|
|
|
"cold": "{entity_name} became cold",
|
|
|
|
"not_cold": "{entity_name} became not cold",
|
|
|
|
"connected": "{entity_name} connected",
|
|
|
|
"not_connected": "{entity_name} disconnected",
|
|
|
|
"gas": "{entity_name} started detecting gas",
|
|
|
|
"no_gas": "{entity_name} stopped detecting gas",
|
|
|
|
"hot": "{entity_name} became hot",
|
|
|
|
"not_hot": "{entity_name} became not hot",
|
|
|
|
"light": "{entity_name} started detecting light",
|
|
|
|
"no_light": "{entity_name} stopped detecting light",
|
|
|
|
"locked": "{entity_name} locked",
|
|
|
|
"not_locked": "{entity_name} unlocked",
|
2019-10-08 16:57:24 +00:00
|
|
|
"moist": "{entity_name} became moist",
|
2019-09-22 18:13:17 +00:00
|
|
|
"not_moist": "{entity_name} became dry",
|
|
|
|
"motion": "{entity_name} started detecting motion",
|
|
|
|
"no_motion": "{entity_name} stopped detecting motion",
|
|
|
|
"moving": "{entity_name} started moving",
|
|
|
|
"not_moving": "{entity_name} stopped moving",
|
|
|
|
"occupied": "{entity_name} became occupied",
|
|
|
|
"not_occupied": "{entity_name} became not occupied",
|
|
|
|
"plugged_in": "{entity_name} plugged in",
|
|
|
|
"not_plugged_in": "{entity_name} unplugged",
|
|
|
|
"powered": "{entity_name} powered",
|
|
|
|
"not_powered": "{entity_name} not powered",
|
|
|
|
"present": "{entity_name} present",
|
|
|
|
"not_present": "{entity_name} not present",
|
|
|
|
"problem": "{entity_name} started detecting problem",
|
|
|
|
"no_problem": "{entity_name} stopped detecting problem",
|
2021-10-25 21:05:27 +00:00
|
|
|
"running": "{entity_name} started running",
|
|
|
|
"not_running": "{entity_name} is no longer running",
|
2019-09-22 18:13:17 +00:00
|
|
|
"unsafe": "{entity_name} became unsafe",
|
|
|
|
"not_unsafe": "{entity_name} became safe",
|
|
|
|
"smoke": "{entity_name} started detecting smoke",
|
|
|
|
"no_smoke": "{entity_name} stopped detecting smoke",
|
|
|
|
"sound": "{entity_name} started detecting sound",
|
|
|
|
"no_sound": "{entity_name} stopped detecting sound",
|
2021-12-04 17:38:09 +00:00
|
|
|
"tampered": "{entity_name} started detecting tampering",
|
|
|
|
"not_tampered": "{entity_name} stopped detecting tampering",
|
2021-08-16 23:30:32 +00:00
|
|
|
"update": "{entity_name} got an update available",
|
|
|
|
"no_update": "{entity_name} became up-to-date",
|
2019-09-22 18:13:17 +00:00
|
|
|
"vibration": "{entity_name} started detecting vibration",
|
|
|
|
"no_vibration": "{entity_name} stopped detecting vibration",
|
|
|
|
"opened": "{entity_name} opened",
|
2019-10-08 16:57:24 +00:00
|
|
|
"not_opened": "{entity_name} closed",
|
2023-07-10 10:56:51 +00:00
|
|
|
"turned_on": "[%key:common::device_automation::trigger_type::turned_on%]",
|
|
|
|
"turned_off": "[%key:common::device_automation::trigger_type::turned_off%]"
|
2019-09-22 18:13:17 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
2023-03-16 11:16:08 +00:00
|
|
|
"entity_component": {
|
|
|
|
"_": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "[%key:component::binary_sensor::title%]",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::off%]",
|
|
|
|
"on": "[%key:common::state::on%]"
|
|
|
|
}
|
|
|
|
},
|
2020-04-20 23:25:35 +00:00
|
|
|
"battery": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Battery",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Normal",
|
|
|
|
"on": "Low"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
2020-11-09 21:09:44 +00:00
|
|
|
"battery_charging": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Charging",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Not charging",
|
|
|
|
"on": "Charging"
|
|
|
|
}
|
2020-11-09 21:09:44 +00:00
|
|
|
},
|
2022-02-21 18:34:38 +00:00
|
|
|
"carbon_monoxide": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Carbon monoxide",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
2023-03-17 11:05:29 +00:00
|
|
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
2023-03-16 11:16:08 +00:00
|
|
|
}
|
2021-12-28 20:33:21 +00:00
|
|
|
},
|
2020-04-20 23:25:35 +00:00
|
|
|
"cold": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Cold",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:component::binary_sensor::entity_component::battery::state::off%]",
|
|
|
|
"on": "Cold"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"connectivity": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Connectivity",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::disconnected%]",
|
|
|
|
"on": "[%key:common::state::connected%]"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"door": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Door",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::closed%]",
|
|
|
|
"on": "[%key:common::state::open%]"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"garage_door": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Garage door",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::closed%]",
|
|
|
|
"on": "[%key:common::state::open%]"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"gas": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Gas",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Clear",
|
|
|
|
"on": "Detected"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"heat": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Heat",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:component::binary_sensor::entity_component::battery::state::off%]",
|
|
|
|
"on": "Hot"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
2020-11-09 21:09:44 +00:00
|
|
|
"light": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Light",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "No light",
|
|
|
|
"on": "Light detected"
|
|
|
|
}
|
2020-11-09 21:09:44 +00:00
|
|
|
},
|
2020-04-20 23:25:35 +00:00
|
|
|
"lock": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Lock",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::locked%]",
|
|
|
|
"on": "[%key:common::state::unlocked%]"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"moisture": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Moisture",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Dry",
|
|
|
|
"on": "Wet"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"motion": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Motion",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
2023-03-17 11:05:29 +00:00
|
|
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
|
|
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
2023-03-16 11:16:08 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
2020-11-09 21:09:44 +00:00
|
|
|
"moving": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Moving",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Not moving",
|
|
|
|
"on": "Moving"
|
|
|
|
}
|
2020-11-09 21:09:44 +00:00
|
|
|
},
|
2020-04-20 23:25:35 +00:00
|
|
|
"occupancy": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Occupancy",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
2023-03-17 11:05:29 +00:00
|
|
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
|
|
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
2023-03-16 11:16:08 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"opening": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Opening",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::closed%]",
|
|
|
|
"on": "[%key:common::state::open%]"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
2020-11-09 21:09:44 +00:00
|
|
|
"plug": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Plug",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Unplugged",
|
|
|
|
"on": "Plugged in"
|
|
|
|
}
|
2020-11-09 21:09:44 +00:00
|
|
|
},
|
2023-07-23 12:20:57 +00:00
|
|
|
"power": {
|
|
|
|
"name": "Power",
|
|
|
|
"state": {
|
|
|
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
|
|
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
|
|
|
}
|
|
|
|
},
|
2020-04-20 23:25:35 +00:00
|
|
|
"presence": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Presence",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:component::device_tracker::entity_component::_::state::not_home%]",
|
|
|
|
"on": "[%key:component::device_tracker::entity_component::_::state::home%]"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"problem": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Problem",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "OK",
|
|
|
|
"on": "Problem"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
2021-10-25 21:05:27 +00:00
|
|
|
"running": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Running",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Not running",
|
|
|
|
"on": "Running"
|
|
|
|
}
|
2021-10-25 21:05:27 +00:00
|
|
|
},
|
2020-04-20 23:25:35 +00:00
|
|
|
"safety": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Safety",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Safe",
|
|
|
|
"on": "Unsafe"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"smoke": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Smoke",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
2023-03-17 11:05:29 +00:00
|
|
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
|
|
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
2023-03-16 11:16:08 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"sound": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Sound",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
2023-03-17 11:05:29 +00:00
|
|
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
|
|
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
2023-03-16 11:16:08 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
2023-10-05 06:32:43 +00:00
|
|
|
"tamper": {
|
|
|
|
"name": "Tamper",
|
|
|
|
"state": {
|
|
|
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
|
|
|
"on": "Tampering detected"
|
|
|
|
}
|
|
|
|
},
|
2021-08-16 23:30:32 +00:00
|
|
|
"update": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Update",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "Up-to-date",
|
|
|
|
"on": "Update available"
|
|
|
|
}
|
2021-08-16 23:30:32 +00:00
|
|
|
},
|
2020-04-20 23:25:35 +00:00
|
|
|
"vibration": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Vibration",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
2023-03-17 11:05:29 +00:00
|
|
|
"off": "[%key:component::binary_sensor::entity_component::gas::state::off%]",
|
|
|
|
"on": "[%key:component::binary_sensor::entity_component::gas::state::on%]"
|
2023-03-16 11:16:08 +00:00
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
},
|
|
|
|
"window": {
|
2023-03-16 20:10:20 +00:00
|
|
|
"name": "Window",
|
2023-03-16 11:16:08 +00:00
|
|
|
"state": {
|
|
|
|
"off": "[%key:common::state::closed%]",
|
|
|
|
"on": "[%key:common::state::open%]"
|
|
|
|
}
|
2020-04-20 23:25:35 +00:00
|
|
|
}
|
2019-09-22 18:13:17 +00:00
|
|
|
}
|
2022-03-30 08:35:30 +00:00
|
|
|
}
|