Skip to content

Commit e4247fc

Browse files
committed
Corrected snapshot
* tests/snapshots/test_init.ambr:
1 parent d5e30ac commit e4247fc

File tree

1 file changed

+65
-65
lines changed

1 file changed

+65
-65
lines changed

tests/snapshots/test_init.ambr

Lines changed: 65 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -5224,7 +5224,7 @@
52245224
# name: test_altherma[button.altherma_refresh-state]
52255225
StateSnapshot({
52265226
'attributes': ReadOnlyDict({
5227-
'friendly_name': 'Altherma Refresh',
5227+
'friendly_name': 'Sanne Refresh',
52285228
'icon': 'mdi:refresh',
52295229
}),
52305230
'context': <ANY>,
@@ -5273,7 +5273,7 @@
52735273
# name: test_altherma[button.johnny_maaike_refresh-state]
52745274
StateSnapshot({
52755275
'attributes': ReadOnlyDict({
5276-
'friendly_name': 'Johnny&Maaike Refresh',
5276+
'friendly_name': 'Sanne Refresh',
52775277
'icon': 'mdi:refresh',
52785278
}),
52795279
'context': <ANY>,
@@ -5322,7 +5322,7 @@
53225322
# name: test_altherma[button.linde_refresh-state]
53235323
StateSnapshot({
53245324
'attributes': ReadOnlyDict({
5325-
'friendly_name': 'Linde Refresh',
5325+
'friendly_name': 'Sanne Refresh',
53265326
'icon': 'mdi:refresh',
53275327
}),
53285328
'context': <ANY>,
@@ -5420,7 +5420,7 @@
54205420
# name: test_altherma[button.werkkamer_refresh-state]
54215421
StateSnapshot({
54225422
'attributes': ReadOnlyDict({
5423-
'friendly_name': 'Werkkamer Refresh',
5423+
'friendly_name': 'Sanne Refresh',
54245424
'icon': 'mdi:refresh',
54255425
}),
54265426
'context': <ANY>,
@@ -35789,7 +35789,7 @@
3578935789
# name: test_climate[button.altherma_refresh-state]
3579035790
StateSnapshot({
3579135791
'attributes': ReadOnlyDict({
35792-
'friendly_name': 'Altherma Refresh',
35792+
'friendly_name': 'Sanne Refresh',
3579335793
'icon': 'mdi:refresh',
3579435794
}),
3579535795
'context': <ANY>,
@@ -35838,7 +35838,7 @@
3583835838
# name: test_climate[button.johnny_maaike_refresh-state]
3583935839
StateSnapshot({
3584035840
'attributes': ReadOnlyDict({
35841-
'friendly_name': 'Johnny&Maaike Refresh',
35841+
'friendly_name': 'Sanne Refresh',
3584235842
'icon': 'mdi:refresh',
3584335843
}),
3584435844
'context': <ANY>,
@@ -35887,7 +35887,7 @@
3588735887
# name: test_climate[button.linde_refresh-state]
3588835888
StateSnapshot({
3588935889
'attributes': ReadOnlyDict({
35890-
'friendly_name': 'Linde Refresh',
35890+
'friendly_name': 'Sanne Refresh',
3589135891
'icon': 'mdi:refresh',
3589235892
}),
3589335893
'context': <ANY>,
@@ -35985,7 +35985,7 @@
3598535985
# name: test_climate[button.werkkamer_refresh-state]
3598635986
StateSnapshot({
3598735987
'attributes': ReadOnlyDict({
35988-
'friendly_name': 'Werkkamer Refresh',
35988+
'friendly_name': 'Sanne Refresh',
3598935989
'icon': 'mdi:refresh',
3599035990
}),
3599135991
'context': <ANY>,
@@ -64239,63 +64239,6 @@
6423964239
'state': '264',
6424064240
})
6424164241
# ---
64242-
# name: test_gas[sensor.my_living_room_climatecontrol_energy-entry]
64243-
EntityRegistryEntrySnapshot({
64244-
'aliases': set({
64245-
}),
64246-
'area_id': None,
64247-
'capabilities': dict({
64248-
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
64249-
}),
64250-
'config_entry_id': <ANY>,
64251-
'config_subentry_id': <ANY>,
64252-
'device_class': None,
64253-
'device_id': <ANY>,
64254-
'disabled_by': None,
64255-
'domain': 'sensor',
64256-
'entity_category': None,
64257-
'entity_id': 'sensor.my_living_room_climatecontrol_energy',
64258-
'has_entity_name': True,
64259-
'hidden_by': None,
64260-
'icon': None,
64261-
'id': <ANY>,
64262-
'labels': set({
64263-
}),
64264-
'name': None,
64265-
'options': dict({
64266-
'sensor': dict({
64267-
'suggested_display_precision': 2,
64268-
}),
64269-
}),
64270-
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
64271-
'original_icon': 'mdi:fire',
64272-
'original_name': 'Energy',
64273-
'platform': 'daikin_onecta',
64274-
'previous_unique_id': None,
64275-
'suggested_object_id': None,
64276-
'supported_features': 0,
64277-
'translation_key': 'heatingmonthlygasconsumption',
64278-
'unique_id': '7edb544e-2c53-405b-98bc-3d9392f4d1f9_climateControl_gas_heating_monthly',
64279-
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
64280-
})
64281-
# ---
64282-
# name: test_gas[sensor.my_living_room_climatecontrol_energy-state]
64283-
StateSnapshot({
64284-
'attributes': ReadOnlyDict({
64285-
'device_class': 'energy',
64286-
'friendly_name': 'My Living Room ClimateControl Energy',
64287-
'icon': 'mdi:fire',
64288-
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
64289-
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
64290-
}),
64291-
'context': <ANY>,
64292-
'entity_id': 'sensor.my_living_room_climatecontrol_energy',
64293-
'last_changed': <ANY>,
64294-
'last_reported': <ANY>,
64295-
'last_updated': <ANY>,
64296-
'state': '264',
64297-
})
64298-
# ---
6429964242
# name: test_gas[sensor.my_living_room_climatecontrol_heat_up_mode-entry]
6430064243
EntityRegistryEntrySnapshot({
6430164244
'aliases': set({
@@ -64516,6 +64459,63 @@
6451664459
'state': '264',
6451764460
})
6451864461
# ---
64462+
# name: test_gas[sensor.my_living_room_climatecontrol_heating_monthly_gas_consumption-entry]
64463+
EntityRegistryEntrySnapshot({
64464+
'aliases': set({
64465+
}),
64466+
'area_id': None,
64467+
'capabilities': dict({
64468+
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
64469+
}),
64470+
'config_entry_id': <ANY>,
64471+
'config_subentry_id': <ANY>,
64472+
'device_class': None,
64473+
'device_id': <ANY>,
64474+
'disabled_by': None,
64475+
'domain': 'sensor',
64476+
'entity_category': None,
64477+
'entity_id': 'sensor.my_living_room_climatecontrol_heating_monthly_gas_consumption',
64478+
'has_entity_name': True,
64479+
'hidden_by': None,
64480+
'icon': None,
64481+
'id': <ANY>,
64482+
'labels': set({
64483+
}),
64484+
'name': None,
64485+
'options': dict({
64486+
'sensor': dict({
64487+
'suggested_display_precision': 2,
64488+
}),
64489+
}),
64490+
'original_device_class': <SensorDeviceClass.ENERGY: 'energy'>,
64491+
'original_icon': 'mdi:fire',
64492+
'original_name': 'Heating monthly gas consumption',
64493+
'platform': 'daikin_onecta',
64494+
'previous_unique_id': None,
64495+
'suggested_object_id': None,
64496+
'supported_features': 0,
64497+
'translation_key': 'heatingmonthlygasconsumption',
64498+
'unique_id': '7edb544e-2c53-405b-98bc-3d9392f4d1f9_climateControl_gas_heating_monthly',
64499+
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
64500+
})
64501+
# ---
64502+
# name: test_gas[sensor.my_living_room_climatecontrol_heating_monthly_gas_consumption-state]
64503+
StateSnapshot({
64504+
'attributes': ReadOnlyDict({
64505+
'device_class': 'energy',
64506+
'friendly_name': 'My Living Room ClimateControl Heating monthly gas consumption',
64507+
'icon': 'mdi:fire',
64508+
'state_class': <SensorStateClass.TOTAL_INCREASING: 'total_increasing'>,
64509+
'unit_of_measurement': <UnitOfEnergy.KILO_WATT_HOUR: 'kWh'>,
64510+
}),
64511+
'context': <ANY>,
64512+
'entity_id': 'sensor.my_living_room_climatecontrol_heating_monthly_gas_consumption',
64513+
'last_changed': <ANY>,
64514+
'last_reported': <ANY>,
64515+
'last_updated': <ANY>,
64516+
'state': '264',
64517+
})
64518+
# ---
6451964519
# name: test_gas[sensor.my_living_room_climatecontrol_heating_weekly_electrical_consumption-entry]
6452064520
EntityRegistryEntrySnapshot({
6452164521
'aliases': set({

0 commit comments

Comments
 (0)