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
| Parameter | Description |
|---|
| BaseObject | The object used as the context for this condition check. |
| CompareType | Supported compare types: Equal, NotEqual. |
| S1 | The 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. |
| F1 | The weather step to compare. If not provided (0), only the weather type is checked without step comparison. |
Examples
| Description | BaseObject | Command | CompareType | S2 |
|---|
| Check if the current weather is cloudy | Self | Weather | Equal | |
| Check if the current weather is Cloud step 1 | Self | Weather | Equal | |
| Check if the current weather is not cloudy | Self | Weather | NotEqual | |
| Check if the current weather is rainy (exclude user-edited weather) | Self | Weather | Equal | ExcludeUserEdit |