{
    "multipart": [
        {
            "apply": {
                "model": "modernlife:block/ceiling_fan_off"
            },
            "when": {
                "speed": "0"
            }
        },
        {
            "apply": {
                "model": "modernlife:block/ceiling_fan_on"
            },
            "when": {
                "speed": "1"
            }
        }
    ]
}
