Noob looking for input

Is this the right / best way?

Code

[
    {
        "id": "c565136d.3fb0f",
        "type": "api-call-service",
        "z": "ba1627b.7811ad8",
        "name": "Fan on",
        "server": "88c3f00e.c9258",
        "service_domain": "switch",
        "service": "turn_on",
        "data": "{\"entity_id\":\"switch.zooz_2_channel_switch_switch_2\"}",
        "mergecontext": "",
        "x": 680,
        "y": 260,
        "wires": [
            []
        ]
    },
    {
        "id": "3a1ec440.c4dd3c",
        "type": "server-state-changed",
        "z": "ba1627b.7811ad8",
        "name": "Master BR Temp",
        "server": "88c3f00e.c9258",
        "entityidfilter": "sensor.master_bedroom_temperature",
        "entityidfiltertype": "substring",
        "haltifstate": "",
        "x": 100,
        "y": 260,
        "wires": [
            [
                "cdff4d3f.fa377"
            ]
        ]
    },
    {
        "id": "cdff4d3f.fa377",
        "type": "function",
        "z": "ba1627b.7811ad8",
        "name": "Temp >= 74 degrees",
        "func": "if (msg.payload.tempc >= 23 ){\nmsg.payload = 1;\nreturn msg;\n} else {\nmsg.payload = 0;\nreturn msg;\n}\nreturn null;",
        "outputs": 1,
        "noerr": 0,
        "x": 320,
        "y": 260,
        "wires": [
            [
                "2bbad1ea.b6708e"
            ]
        ]
    },
    {
        "id": "2bbad1ea.b6708e",
        "type": "api-current-state",
        "z": "ba1627b.7811ad8",
        "name": "On now?",
        "server": "88c3f00e.c9258",
        "halt_if": "on",
        "override_topic": true,
        "override_payload": true,
        "entity_id": "switch.zooz_2_channel_switch_switch_2",
        "x": 520,
        "y": 260,
        "wires": [
            [
                "c565136d.3fb0f"
            ]
        ]
    },
    {
        "id": "88c3f00e.c9258",
        "type": "server",
        "z": "",
        "name": "Home Assistant",
        "url": "https://redacted:8123",
        "pass": "redacted"
    }
]

Looks fine to me.