Skip to main content

Condition_Weather

Description

Checks whether the current weather matches the specified weather ID and optionally a specific weather step. When S2 is "ExcludeUserEdit", weather overridden by user via City Edit is excluded from matching.

Parameters

ParameterDescription
BaseObjectThe object used as the context for this condition check.
CompareTypeSupported compare types: Equal, NotEqual.
S1The row ID of the weather to check against (FB1WeatherTableRow, see Weather.json).
S2(Optional) "ExcludeUserEdit" to ignore user-edited weather (City Edit). If omitted, any weather source matches.
F1The weather step to compare. If not provided (0), only the weather type is checked without step comparison.

Examples

DescriptionBaseObjectCommandCompareTypeS2
Check if the current weather is cloudySelfWeatherEqual
Check if the current weather is Cloud step 1SelfWeatherEqual
Check if the current weather is not cloudySelfWeatherNotEqual
Check if the current weather is rainy (exclude user-edited weather)SelfWeatherEqualExcludeUserEdit