|
4257 | 4257 | 'state': '0', |
4258 | 4258 | }) |
4259 | 4259 | # --- |
4260 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_battery-entry] |
| 4260 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_battery-entry] |
4261 | 4261 | EntityRegistryEntrySnapshot({ |
4262 | 4262 | 'aliases': set({ |
4263 | 4263 | }), |
|
4294 | 4294 | 'unit_of_measurement': '%', |
4295 | 4295 | }) |
4296 | 4296 | # --- |
4297 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_battery-state] |
| 4297 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_battery-state] |
4298 | 4298 | StateSnapshot({ |
4299 | 4299 | 'attributes': ReadOnlyDict({ |
4300 | 4300 | 'device_class': 'battery', |
|
4310 | 4310 | 'state': '1', |
4311 | 4311 | }) |
4312 | 4312 | # --- |
4313 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_battery_voltage-entry] |
| 4313 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_battery_voltage-entry] |
4314 | 4314 | EntityRegistryEntrySnapshot({ |
4315 | 4315 | 'aliases': set({ |
4316 | 4316 | }), |
|
4353 | 4353 | 'unit_of_measurement': <UnitOfElectricPotential.VOLT: 'V'>, |
4354 | 4354 | }) |
4355 | 4355 | # --- |
4356 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_battery_voltage-state] |
| 4356 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_battery_voltage-state] |
4357 | 4357 | StateSnapshot({ |
4358 | 4358 | 'attributes': ReadOnlyDict({ |
4359 | 4359 | 'device_class': 'voltage', |
|
4369 | 4369 | 'state': '2.316', |
4370 | 4370 | }) |
4371 | 4371 | # --- |
4372 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_1-entry] |
| 4372 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_1-entry] |
4373 | 4373 | EntityRegistryEntrySnapshot({ |
4374 | 4374 | 'aliases': set({ |
4375 | 4375 | }), |
|
4406 | 4406 | 'unit_of_measurement': None, |
4407 | 4407 | }) |
4408 | 4408 | # --- |
4409 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_1-state] |
| 4409 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_1-state] |
4410 | 4410 | StateSnapshot({ |
4411 | 4411 | 'attributes': ReadOnlyDict({ |
4412 | 4412 | 'friendly_name': 'HJMT-6B Current switch position (1)', |
|
4420 | 4420 | 'state': '0', |
4421 | 4421 | }) |
4422 | 4422 | # --- |
4423 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_2-entry] |
| 4423 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_2-entry] |
4424 | 4424 | EntityRegistryEntrySnapshot({ |
4425 | 4425 | 'aliases': set({ |
4426 | 4426 | }), |
|
4457 | 4457 | 'unit_of_measurement': None, |
4458 | 4458 | }) |
4459 | 4459 | # --- |
4460 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_2-state] |
| 4460 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_2-state] |
4461 | 4461 | StateSnapshot({ |
4462 | 4462 | 'attributes': ReadOnlyDict({ |
4463 | 4463 | 'friendly_name': 'HJMT-6B Current switch position (2)', |
|
4471 | 4471 | 'state': '0', |
4472 | 4472 | }) |
4473 | 4473 | # --- |
4474 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_3-entry] |
| 4474 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_3-entry] |
4475 | 4475 | EntityRegistryEntrySnapshot({ |
4476 | 4476 | 'aliases': set({ |
4477 | 4477 | }), |
|
4508 | 4508 | 'unit_of_measurement': None, |
4509 | 4509 | }) |
4510 | 4510 | # --- |
4511 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_3-state] |
| 4511 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_3-state] |
4512 | 4512 | StateSnapshot({ |
4513 | 4513 | 'attributes': ReadOnlyDict({ |
4514 | 4514 | 'friendly_name': 'HJMT-6B Current switch position (3)', |
|
4522 | 4522 | 'state': '0', |
4523 | 4523 | }) |
4524 | 4524 | # --- |
4525 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_4-entry] |
| 4525 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_4-entry] |
4526 | 4526 | EntityRegistryEntrySnapshot({ |
4527 | 4527 | 'aliases': set({ |
4528 | 4528 | }), |
|
4559 | 4559 | 'unit_of_measurement': None, |
4560 | 4560 | }) |
4561 | 4561 | # --- |
4562 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_4-state] |
| 4562 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_4-state] |
4563 | 4563 | StateSnapshot({ |
4564 | 4564 | 'attributes': ReadOnlyDict({ |
4565 | 4565 | 'friendly_name': 'HJMT-6B Current switch position (4)', |
|
4573 | 4573 | 'state': '0', |
4574 | 4574 | }) |
4575 | 4575 | # --- |
4576 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_5-entry] |
| 4576 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_5-entry] |
4577 | 4577 | EntityRegistryEntrySnapshot({ |
4578 | 4578 | 'aliases': set({ |
4579 | 4579 | }), |
|
4610 | 4610 | 'unit_of_measurement': None, |
4611 | 4611 | }) |
4612 | 4612 | # --- |
4613 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_5-state] |
| 4613 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_5-state] |
4614 | 4614 | StateSnapshot({ |
4615 | 4615 | 'attributes': ReadOnlyDict({ |
4616 | 4616 | 'friendly_name': 'HJMT-6B Current switch position (5)', |
|
4624 | 4624 | 'state': '0', |
4625 | 4625 | }) |
4626 | 4626 | # --- |
4627 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_6-entry] |
| 4627 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_6-entry] |
4628 | 4628 | EntityRegistryEntrySnapshot({ |
4629 | 4629 | 'aliases': set({ |
4630 | 4630 | }), |
|
4661 | 4661 | 'unit_of_measurement': None, |
4662 | 4662 | }) |
4663 | 4663 | # --- |
4664 | | -# name: test_sensors[haijai_switch][sensor.hjmt_6b_current_switch_position_6-state] |
| 4664 | +# name: test_sensors[haojai_switch][sensor.hjmt_6b_current_switch_position_6-state] |
4665 | 4665 | StateSnapshot({ |
4666 | 4666 | 'attributes': ReadOnlyDict({ |
4667 | 4667 | 'friendly_name': 'HJMT-6B Current switch position (6)', |
|
0 commit comments