@@ -586,9 +586,9 @@ async def test_stick_node_discovered_subscription(
586586 assert stick .nodes ["5555555555555555" ].node_info .firmware == dt (
587587 2011 , 6 , 27 , 8 , 55 , 44 , tzinfo = UTC
588588 )
589- assert stick .nodes ["5555555555555555" ].node_info .version == "000000070008 "
589+ assert stick .nodes ["5555555555555555" ].node_info .version == "080007 "
590590 assert stick .nodes ["5555555555555555" ].node_info .model == "Scan"
591- assert stick .nodes ["5555555555555555" ].node_info .model_type == ""
591+ assert stick .nodes ["5555555555555555" ].node_info .model_type == None
592592 assert stick .nodes ["5555555555555555" ].available
593593 assert stick .nodes ["5555555555555555" ].node_info .is_battery_powered
594594 assert sorted (stick .nodes ["5555555555555555" ].features ) == sorted (
@@ -1466,7 +1466,7 @@ async def test_creating_request_messages(self) -> None:
14661466
14671467 @pytest .mark .asyncio
14681468 async def test_stick_network_down (self , monkeypatch : pytest .MonkeyPatch ) -> None :
1469- """Testing timeout circle + discovery."""
1469+ """Testing timeout Circle + discovery."""
14701470 mock_serial = MockSerial (
14711471 {
14721472 b"\x05 \x05 \x03 \x03 000AB43C\r \n " : (
@@ -2393,14 +2393,14 @@ async def test_node_discovery_and_load(
23932393 assert len (stick .nodes ) == 6
23942394
23952395 assert stick .nodes ["0098765432101234" ].is_loaded
2396- assert stick .nodes ["0098765432101234" ].name == "Circle+ 01234"
2396+ assert stick .nodes ["0098765432101234" ].name == "Circle + 01234"
23972397 assert stick .nodes ["0098765432101234" ].node_info .firmware == dt (
23982398 2011 , 6 , 27 , 8 , 47 , 37 , tzinfo = UTC
23992399 )
2400- assert stick .nodes ["0098765432101234" ].node_info .version == "000000730007 "
2401- assert stick .nodes ["0098765432101234" ].node_info .model == "Circle+"
2400+ assert stick .nodes ["0098765432101234" ].node_info .version == "070073 "
2401+ assert stick .nodes ["0098765432101234" ].node_info .model == "Circle +"
24022402 assert stick .nodes ["0098765432101234" ].node_info .model_type == "type F"
2403- assert stick .nodes ["0098765432101234" ].node_info .name == "Circle+ 01234"
2403+ assert stick .nodes ["0098765432101234" ].node_info .name == "Circle + 01234"
24042404 assert stick .nodes ["0098765432101234" ].available
24052405 assert not stick .nodes ["0098765432101234" ].node_info .is_battery_powered
24062406 assert not stick .nodes ["0098765432101234" ].is_battery_powered
@@ -2472,8 +2472,8 @@ async def test_node_discovery_and_load(
24722472 assert state [pw_api .NodeFeature .INFO ].firmware == dt (
24732473 2011 , 6 , 27 , 8 , 47 , 37 , tzinfo = UTC
24742474 )
2475- assert state [pw_api .NodeFeature .INFO ].name == "Circle+ 01234"
2476- assert state [pw_api .NodeFeature .INFO ].model == "Circle+"
2475+ assert state [pw_api .NodeFeature .INFO ].name == "Circle + 01234"
2476+ assert state [pw_api .NodeFeature .INFO ].model == "Circle +"
24772477 assert state [pw_api .NodeFeature .INFO ].model_type == "type F"
24782478 assert state [pw_api .NodeFeature .INFO ].node_type == pw_api .NodeType .CIRCLE_PLUS
24792479 assert (
@@ -2482,7 +2482,7 @@ async def test_node_discovery_and_load(
24822482 )
24832483 == get_state_timestamp
24842484 )
2485- assert state [pw_api .NodeFeature .INFO ].version == "000000730007 "
2485+ assert state [pw_api .NodeFeature .INFO ].version == "070073 "
24862486
24872487 assert state [pw_api .NodeFeature .RELAY ].state
24882488
@@ -2495,7 +2495,7 @@ async def test_node_discovery_and_load(
24952495 assert state [pw_api .NodeFeature .INFO ].mac == "1111111111111111"
24962496 assert state [pw_api .NodeFeature .INFO ].zigbee_address == 0
24972497 assert not state [pw_api .NodeFeature .INFO ].is_battery_powered
2498- assert state [pw_api .NodeFeature .INFO ].version == "000000070140 "
2498+ assert state [pw_api .NodeFeature .INFO ].version == "070140 "
24992499 assert state [pw_api .NodeFeature .INFO ].node_type == pw_api .NodeType .CIRCLE
25002500 assert (
25012501 state [pw_api .NodeFeature .INFO ].timestamp .replace (
@@ -2529,9 +2529,9 @@ async def test_node_discovery_and_load(
25292529 assert stick .nodes ["5555555555555555" ].node_info .firmware == dt (
25302530 2011 , 6 , 27 , 8 , 55 , 44 , tzinfo = UTC
25312531 )
2532- assert stick .nodes ["5555555555555555" ].node_info .version == "000000070008 "
2532+ assert stick .nodes ["5555555555555555" ].node_info .version == "080007 "
25332533 assert stick .nodes ["5555555555555555" ].node_info .model == "Scan"
2534- assert stick .nodes ["5555555555555555" ].node_info .model_type == ""
2534+ assert stick .nodes ["5555555555555555" ].node_info .model_type == None
25352535 assert stick .nodes ["5555555555555555" ].available
25362536 assert stick .nodes ["5555555555555555" ].node_info .is_battery_powered
25372537 assert sorted (stick .nodes ["5555555555555555" ].features ) == sorted (
@@ -2594,9 +2594,9 @@ async def test_node_discovery_and_load(
25942594 assert stick .nodes ["8888888888888888" ].node_info .firmware == dt (
25952595 2011 , 6 , 27 , 9 , 4 , 10 , tzinfo = UTC
25962596 )
2597- assert stick .nodes ["8888888888888888" ].node_info .version == "000007005100 "
2597+ assert stick .nodes ["8888888888888888" ].node_info .version == "070051 "
25982598 assert stick .nodes ["8888888888888888" ].node_info .model == "Switch"
2599- assert stick .nodes ["8888888888888888" ].node_info .model_type == ""
2599+ assert stick .nodes ["8888888888888888" ].node_info .model_type == None
26002600 assert stick .nodes ["8888888888888888" ].available
26012601 assert stick .nodes ["8888888888888888" ].node_info .is_battery_powered
26022602 assert sorted (stick .nodes ["8888888888888888" ].features ) == sorted (
0 commit comments