firmware: migrate cargo controller to LilyGO T-Relay S3
This commit is contained in:
+4
-4
@@ -8,7 +8,7 @@
|
||||
"enabled": true,
|
||||
"role": "aux",
|
||||
"hardware_channel": 1,
|
||||
"hardware_profile": "generic_esp32_2ch_relay",
|
||||
"hardware_profile": "lilygo_t_relay_s3_6ch",
|
||||
"available": true
|
||||
},
|
||||
{
|
||||
@@ -18,7 +18,7 @@
|
||||
"enabled": true,
|
||||
"role": "fridge",
|
||||
"hardware_channel": 2,
|
||||
"hardware_profile": "generic_esp32_2ch_relay",
|
||||
"hardware_profile": "lilygo_t_relay_s3_6ch",
|
||||
"available": true
|
||||
}
|
||||
],
|
||||
@@ -38,6 +38,6 @@
|
||||
"weather": false
|
||||
}
|
||||
],
|
||||
"hardware_profile": "generic_esp32_2ch_relay",
|
||||
"output_count": 2
|
||||
"hardware_profile": "lilygo_t_relay_s3_6ch",
|
||||
"output_count": 6
|
||||
}
|
||||
|
||||
+6
-6
@@ -44,7 +44,7 @@
|
||||
"state": false,
|
||||
"role": "aux",
|
||||
"hardware_channel": 1,
|
||||
"hardware_profile": "generic_esp32_2ch_relay",
|
||||
"hardware_profile": "lilygo_t_relay_s3_6ch",
|
||||
"available": true
|
||||
},
|
||||
{
|
||||
@@ -55,7 +55,7 @@
|
||||
"state": true,
|
||||
"role": "fridge",
|
||||
"hardware_channel": 2,
|
||||
"hardware_profile": "generic_esp32_2ch_relay",
|
||||
"hardware_profile": "lilygo_t_relay_s3_6ch",
|
||||
"available": true
|
||||
}
|
||||
],
|
||||
@@ -106,7 +106,7 @@
|
||||
"enabled": true,
|
||||
"role": "aux",
|
||||
"hardware_channel": 1,
|
||||
"hardware_profile": "generic_esp32_2ch_relay",
|
||||
"hardware_profile": "lilygo_t_relay_s3_6ch",
|
||||
"available": true
|
||||
}
|
||||
],
|
||||
@@ -126,9 +126,9 @@
|
||||
"weather": false
|
||||
}
|
||||
],
|
||||
"hardware_profile": "generic_esp32_2ch_relay",
|
||||
"hardware_profile": "lilygo_t_relay_s3_6ch",
|
||||
"output_count": 2
|
||||
},
|
||||
"hardware_profile": "generic_esp32_2ch_relay",
|
||||
"output_count": 2
|
||||
"hardware_profile": "lilygo_t_relay_s3_6ch",
|
||||
"output_count": 6
|
||||
}
|
||||
|
||||
@@ -134,8 +134,8 @@ def test_status_fixture_matches_dashboard_contract_shape():
|
||||
"online",
|
||||
"temperature_f",
|
||||
])
|
||||
assert payload["hardware_profile"] == "generic_esp32_2ch_relay"
|
||||
assert payload["output_count"] == 2
|
||||
assert payload["hardware_profile"] == "lilygo_t_relay_s3_6ch"
|
||||
assert payload["output_count"] == 6
|
||||
assert_keys(payload["relays"][0], [
|
||||
"id",
|
||||
"name",
|
||||
@@ -180,8 +180,8 @@ def test_config_fixture_matches_current_config_response_shape():
|
||||
"temperature_sensor_count",
|
||||
"temperature_sensors",
|
||||
])
|
||||
assert payload["hardware_profile"] == "generic_esp32_2ch_relay"
|
||||
assert payload["output_count"] == 2
|
||||
assert payload["hardware_profile"] == "lilygo_t_relay_s3_6ch"
|
||||
assert payload["output_count"] == 6
|
||||
assert_keys(payload["relays"][0], [
|
||||
"id",
|
||||
"name",
|
||||
|
||||
Reference in New Issue
Block a user