{ "common": { "condition_behavior_description": "How the state should match on the targeted persons.", "condition_behavior_name": "Behavior", "trigger_behavior_description": "The behavior of the targeted persons to trigger on.", "trigger_behavior_name": "Behavior" }, "conditions": { "is_home": { "description": "Tests if one or more persons are home.", "fields": { "behavior": { "description": "[%key:component::person::common::condition_behavior_description%]", "name": "[%key:component::person::common::condition_behavior_name%]" } }, "name": "Person is home" }, "is_not_home": { "description": "Tests if one or more persons are not home.", "fields": { "behavior": { "description": "[%key:component::person::common::condition_behavior_description%]", "name": "[%key:component::person::common::condition_behavior_name%]" } }, "name": "Person is not home" } }, "entity_component": { "_": { "name": "[%key:component::person::title%]", "state": { "home": "[%key:common::state::home%]", "not_home": "[%key:common::state::not_home%]" }, "state_attributes": { "device_trackers": { "name": "Device trackers" }, "gps_accuracy": { "name": "[%key:component::device_tracker::entity_component::_::state_attributes::gps_accuracy::name%]" }, "latitude": { "name": "[%key:component::device_tracker::entity_component::_::state_attributes::latitude::name%]" }, "longitude": { "name": "[%key:component::device_tracker::entity_component::_::state_attributes::longitude::name%]" }, "source": { "name": "Source" } } } }, "selector": { "condition_behavior": { "options": { "all": "All", "any": "Any" } }, "trigger_behavior": { "options": { "any": "Any", "first": "First", "last": "Last" } } }, "services": { "reload": { "description": "Reloads persons from the YAML-configuration.", "name": "[%key:common::action::reload%]" } }, "title": "Person", "triggers": { "entered_home": { "description": "Triggers when one or more persons enter home.", "fields": { "behavior": { "description": "[%key:component::person::common::trigger_behavior_description%]", "name": "[%key:component::person::common::trigger_behavior_name%]" } }, "name": "Entered home" }, "left_home": { "description": "Triggers when one or more persons leave home.", "fields": { "behavior": { "description": "[%key:component::person::common::trigger_behavior_description%]", "name": "[%key:component::person::common::trigger_behavior_name%]" } }, "name": "Left home" } } }