Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 2.58 KB

AssetTypeAttribute.md

File metadata and controls

34 lines (29 loc) · 2.58 KB

AssetTypeAttribute

Named attribute to store data of assets

Properties

Name Type Description Notes
name str Unique key of asset data
subtype DataSubtype
asset_type_name str, none_type The unique name for the asset type [optional]
type str, none_type Name of the type for this attribute: air_quality, battery-voltage, brightness, co2, current, device-info, device-status, energy, flow, frequency, humidity, inputs-and-switches, level, motion, operating-status, people-count, power, presence, pressure, temperature, vehicle-detector, voltage, weather, voc [optional]
enable bool Is data active or not [optional] if omitted the server will use the default value of True
translation Translation [optional]
unit str, none_type Physical unit of numeric data [optional]
precision int, none_type Number of decimal places [optional]
min float, none_type Lower limit [optional]
max float, none_type Upper limit [optional]
aggregation_mode str, none_type Aggregation calculation mode [optional]
aggregation_rasters [str] [optional]
viewer bool, none_type Should the attribute be displayed in viewer [optional] if omitted the server will use the default value of False
ar bool, none_type Should the attribute be displayed in AR [optional] if omitted the server will use the default value of False
sequence int, none_type Sequence in AR display [optional]
virtual bool, none_type Is the attribute virtual or not [optional]
formula str, none_type calculation rule to calculate the value for this attribute [optional]
scale float, none_type value scale [optional]
zero float, none_type value scale [optional]
map [{str: (bool, date, datetime, dict, float, int, list, str, none_type)}], none_type list of mapping between value and custom text [optional]
source_path [str], none_type source path for attribute value [optional]
is_digital bool, none_type is attribute digital [optional]
any string name bool, date, datetime, dict, float, int, list, str, none_type any string name can be used but the value must be the correct type [optional]

[Back to Model list] [Back to API list] [Back to README]