power source filter
power source filter Structure: A profile for filtering power source changes.
power source filter structure
transport type
power source type: optionalname
string: optionalcomparison
comparisonoptions
array of
comparison option: optional, uniquecharging
boolean: optionalDescription
A computer can have multiple power sources. Power sources can be responsible for a wide range of properties changes and events. The ability to filter these changes is important to allow triggers and conditions to support specific situations involving specific power sources.
Fields
transport type
Trigger only if the power source's type matches.
Use this field to filter power sources by their connection to the host computer. By specifying a transport type of network, only changes to network connected power sources will trigger the trigger.
name
Trigger only if the power source's name matches.
comparison
How should the name be compared to the power source name.
options
Comparison options allowing fine control over the comparison method.
charging
Trigger only if the power source's charging matches.