Generic element is the most basic element type, both in terms of how it's declared and what happens with it "behind the scenes".
Other element types can be often described in comparison to the generic element.
Generic element can be declared for any entity type.
idstring id of the element
typetype of the element, set to
entityentity type the property will be associated with (default is
stateslist of states (default is base state setup, see below)
varslist of vars
# example element: - id: generic_element_example type: generic entity: region vars: - id: some_numeric_var type: number - id: some_string_var type: string states: - id: update commands: - ext_set /global/earth/map/forest_coverage_map/var/ext_region_average_value_addr @prop/forest_coverage - ext_invoke /global/earch/map/forest_coverage_map/state/update_ext_region_average_value
Generic element doesn't feature any additional built-in states apart from the defaults common for all elements.