|
465 | 465 | 'state': '1.0', |
466 | 466 | }) |
467 | 467 | # --- |
| 468 | +# name: test_platform_setup_and_discovery[number.grillhomero_cooking_temperature-entry] |
| 469 | + EntityRegistryEntrySnapshot({ |
| 470 | + 'aliases': set({ |
| 471 | + }), |
| 472 | + 'area_id': None, |
| 473 | + 'capabilities': dict({ |
| 474 | + 'max': 300.0, |
| 475 | + 'min': -30.0, |
| 476 | + 'mode': <NumberMode.AUTO: 'auto'>, |
| 477 | + 'step': 0.1, |
| 478 | + }), |
| 479 | + 'config_entry_id': <ANY>, |
| 480 | + 'config_subentry_id': <ANY>, |
| 481 | + 'device_class': None, |
| 482 | + 'device_id': <ANY>, |
| 483 | + 'disabled_by': None, |
| 484 | + 'domain': 'number', |
| 485 | + 'entity_category': <EntityCategory.CONFIG: 'config'>, |
| 486 | + 'entity_id': 'number.grillhomero_cooking_temperature', |
| 487 | + 'has_entity_name': True, |
| 488 | + 'hidden_by': None, |
| 489 | + 'icon': None, |
| 490 | + 'id': <ANY>, |
| 491 | + 'labels': set({ |
| 492 | + }), |
| 493 | + 'name': None, |
| 494 | + 'options': dict({ |
| 495 | + }), |
| 496 | + 'original_device_class': None, |
| 497 | + 'original_icon': None, |
| 498 | + 'original_name': 'Cooking temperature', |
| 499 | + 'platform': 'tuya', |
| 500 | + 'previous_unique_id': None, |
| 501 | + 'suggested_object_id': None, |
| 502 | + 'supported_features': 0, |
| 503 | + 'translation_key': 'cook_temperature', |
| 504 | + 'unique_id': 'tuya.yybgnzr3ztwscook_temperature', |
| 505 | + 'unit_of_measurement': '℃', |
| 506 | + }) |
| 507 | +# --- |
| 508 | +# name: test_platform_setup_and_discovery[number.grillhomero_cooking_temperature-state] |
| 509 | + StateSnapshot({ |
| 510 | + 'attributes': ReadOnlyDict({ |
| 511 | + 'friendly_name': 'Grillhőmérő Cooking temperature', |
| 512 | + 'max': 300.0, |
| 513 | + 'min': -30.0, |
| 514 | + 'mode': <NumberMode.AUTO: 'auto'>, |
| 515 | + 'step': 0.1, |
| 516 | + 'unit_of_measurement': '℃', |
| 517 | + }), |
| 518 | + 'context': <ANY>, |
| 519 | + 'entity_id': 'number.grillhomero_cooking_temperature', |
| 520 | + 'last_changed': <ANY>, |
| 521 | + 'last_reported': <ANY>, |
| 522 | + 'last_updated': <ANY>, |
| 523 | + 'state': 'unavailable', |
| 524 | + }) |
| 525 | +# --- |
| 526 | +# name: test_platform_setup_and_discovery[number.grillhomero_cooking_temperature_2-entry] |
| 527 | + EntityRegistryEntrySnapshot({ |
| 528 | + 'aliases': set({ |
| 529 | + }), |
| 530 | + 'area_id': None, |
| 531 | + 'capabilities': dict({ |
| 532 | + 'max': 300.0, |
| 533 | + 'min': -30.0, |
| 534 | + 'mode': <NumberMode.AUTO: 'auto'>, |
| 535 | + 'step': 0.1, |
| 536 | + }), |
| 537 | + 'config_entry_id': <ANY>, |
| 538 | + 'config_subentry_id': <ANY>, |
| 539 | + 'device_class': None, |
| 540 | + 'device_id': <ANY>, |
| 541 | + 'disabled_by': None, |
| 542 | + 'domain': 'number', |
| 543 | + 'entity_category': <EntityCategory.CONFIG: 'config'>, |
| 544 | + 'entity_id': 'number.grillhomero_cooking_temperature_2', |
| 545 | + 'has_entity_name': True, |
| 546 | + 'hidden_by': None, |
| 547 | + 'icon': None, |
| 548 | + 'id': <ANY>, |
| 549 | + 'labels': set({ |
| 550 | + }), |
| 551 | + 'name': None, |
| 552 | + 'options': dict({ |
| 553 | + }), |
| 554 | + 'original_device_class': None, |
| 555 | + 'original_icon': None, |
| 556 | + 'original_name': 'Cooking temperature 2', |
| 557 | + 'platform': 'tuya', |
| 558 | + 'previous_unique_id': None, |
| 559 | + 'suggested_object_id': None, |
| 560 | + 'supported_features': 0, |
| 561 | + 'translation_key': 'indexed_cook_temperature', |
| 562 | + 'unique_id': 'tuya.yybgnzr3ztwscook_temperature_2', |
| 563 | + 'unit_of_measurement': '℃', |
| 564 | + }) |
| 565 | +# --- |
| 566 | +# name: test_platform_setup_and_discovery[number.grillhomero_cooking_temperature_2-state] |
| 567 | + StateSnapshot({ |
| 568 | + 'attributes': ReadOnlyDict({ |
| 569 | + 'friendly_name': 'Grillhőmérő Cooking temperature 2', |
| 570 | + 'max': 300.0, |
| 571 | + 'min': -30.0, |
| 572 | + 'mode': <NumberMode.AUTO: 'auto'>, |
| 573 | + 'step': 0.1, |
| 574 | + 'unit_of_measurement': '℃', |
| 575 | + }), |
| 576 | + 'context': <ANY>, |
| 577 | + 'entity_id': 'number.grillhomero_cooking_temperature_2', |
| 578 | + 'last_changed': <ANY>, |
| 579 | + 'last_reported': <ANY>, |
| 580 | + 'last_updated': <ANY>, |
| 581 | + 'state': 'unavailable', |
| 582 | + }) |
| 583 | +# --- |
468 | 584 | # name: test_platform_setup_and_discovery[number.hot_water_heat_pump_temperature-entry] |
469 | 585 | EntityRegistryEntrySnapshot({ |
470 | 586 | 'aliases': set({ |
|
2107 | 2223 | 'state': '-2.0', |
2108 | 2224 | }) |
2109 | 2225 | # --- |
2110 | | -# name: test_platform_setup_and_discovery[number.sous_vide_cook_temperature-entry] |
| 2226 | +# name: test_platform_setup_and_discovery[number.sous_vide_cooking_temperature-entry] |
2111 | 2227 | EntityRegistryEntrySnapshot({ |
2112 | 2228 | 'aliases': set({ |
2113 | 2229 | }), |
|
2125 | 2241 | 'disabled_by': None, |
2126 | 2242 | 'domain': 'number', |
2127 | 2243 | 'entity_category': <EntityCategory.CONFIG: 'config'>, |
2128 | | - 'entity_id': 'number.sous_vide_cook_temperature', |
| 2244 | + 'entity_id': 'number.sous_vide_cooking_temperature', |
2129 | 2245 | 'has_entity_name': True, |
2130 | 2246 | 'hidden_by': None, |
2131 | 2247 | 'icon': None, |
|
2137 | 2253 | }), |
2138 | 2254 | 'original_device_class': None, |
2139 | 2255 | 'original_icon': None, |
2140 | | - 'original_name': 'Cook temperature', |
| 2256 | + 'original_name': 'Cooking temperature', |
2141 | 2257 | 'platform': 'tuya', |
2142 | 2258 | 'previous_unique_id': None, |
2143 | 2259 | 'suggested_object_id': None, |
|
2147 | 2263 | 'unit_of_measurement': '℃', |
2148 | 2264 | }) |
2149 | 2265 | # --- |
2150 | | -# name: test_platform_setup_and_discovery[number.sous_vide_cook_temperature-state] |
| 2266 | +# name: test_platform_setup_and_discovery[number.sous_vide_cooking_temperature-state] |
2151 | 2267 | StateSnapshot({ |
2152 | 2268 | 'attributes': ReadOnlyDict({ |
2153 | | - 'friendly_name': 'Sous Vide Cook temperature', |
| 2269 | + 'friendly_name': 'Sous Vide Cooking temperature', |
2154 | 2270 | 'max': 92.5, |
2155 | 2271 | 'min': 25.0, |
2156 | 2272 | 'mode': <NumberMode.AUTO: 'auto'>, |
2157 | 2273 | 'step': 0.1, |
2158 | 2274 | 'unit_of_measurement': '℃', |
2159 | 2275 | }), |
2160 | 2276 | 'context': <ANY>, |
2161 | | - 'entity_id': 'number.sous_vide_cook_temperature', |
| 2277 | + 'entity_id': 'number.sous_vide_cooking_temperature', |
2162 | 2278 | 'last_changed': <ANY>, |
2163 | 2279 | 'last_reported': <ANY>, |
2164 | 2280 | 'last_updated': <ANY>, |
2165 | 2281 | 'state': 'unavailable', |
2166 | 2282 | }) |
2167 | 2283 | # --- |
2168 | | -# name: test_platform_setup_and_discovery[number.sous_vide_cook_time-entry] |
| 2284 | +# name: test_platform_setup_and_discovery[number.sous_vide_cooking_time-entry] |
2169 | 2285 | EntityRegistryEntrySnapshot({ |
2170 | 2286 | 'aliases': set({ |
2171 | 2287 | }), |
|
2183 | 2299 | 'disabled_by': None, |
2184 | 2300 | 'domain': 'number', |
2185 | 2301 | 'entity_category': <EntityCategory.CONFIG: 'config'>, |
2186 | | - 'entity_id': 'number.sous_vide_cook_time', |
| 2302 | + 'entity_id': 'number.sous_vide_cooking_time', |
2187 | 2303 | 'has_entity_name': True, |
2188 | 2304 | 'hidden_by': None, |
2189 | 2305 | 'icon': None, |
|
2195 | 2311 | }), |
2196 | 2312 | 'original_device_class': None, |
2197 | 2313 | 'original_icon': None, |
2198 | | - 'original_name': 'Cook time', |
| 2314 | + 'original_name': 'Cooking time', |
2199 | 2315 | 'platform': 'tuya', |
2200 | 2316 | 'previous_unique_id': None, |
2201 | 2317 | 'suggested_object_id': None, |
|
2205 | 2321 | 'unit_of_measurement': <UnitOfTime.MINUTES: 'min'>, |
2206 | 2322 | }) |
2207 | 2323 | # --- |
2208 | | -# name: test_platform_setup_and_discovery[number.sous_vide_cook_time-state] |
| 2324 | +# name: test_platform_setup_and_discovery[number.sous_vide_cooking_time-state] |
2209 | 2325 | StateSnapshot({ |
2210 | 2326 | 'attributes': ReadOnlyDict({ |
2211 | | - 'friendly_name': 'Sous Vide Cook time', |
| 2327 | + 'friendly_name': 'Sous Vide Cooking time', |
2212 | 2328 | 'max': 5999.0, |
2213 | 2329 | 'min': 1.0, |
2214 | 2330 | 'mode': <NumberMode.AUTO: 'auto'>, |
2215 | 2331 | 'step': 1.0, |
2216 | 2332 | 'unit_of_measurement': <UnitOfTime.MINUTES: 'min'>, |
2217 | 2333 | }), |
2218 | 2334 | 'context': <ANY>, |
2219 | | - 'entity_id': 'number.sous_vide_cook_time', |
| 2335 | + 'entity_id': 'number.sous_vide_cooking_time', |
2220 | 2336 | 'last_changed': <ANY>, |
2221 | 2337 | 'last_reported': <ANY>, |
2222 | 2338 | 'last_updated': <ANY>, |
|
0 commit comments