mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Bump pynecil to v4.0.1 (#134852)
This commit is contained in:
parent
cd88a8cebd
commit
9638bee8de
@ -180,9 +180,6 @@
|
||||
"invert_buttons": {
|
||||
"default": "mdi:plus-minus-variant"
|
||||
},
|
||||
"usb_pd_mode": {
|
||||
"default": "mdi:meter-electric-outline"
|
||||
},
|
||||
"idle_screen_details": {
|
||||
"default": "mdi:card-bulleted-outline",
|
||||
"state": {
|
||||
|
@ -13,5 +13,5 @@
|
||||
"documentation": "https://www.home-assistant.io/integrations/iron_os",
|
||||
"iot_class": "local_polling",
|
||||
"loggers": ["pynecil"],
|
||||
"requirements": ["pynecil==3.0.1"]
|
||||
"requirements": ["pynecil==4.0.1"]
|
||||
}
|
||||
|
@ -244,9 +244,6 @@
|
||||
},
|
||||
"calibrate_cjc": {
|
||||
"name": "Calibrate CJC"
|
||||
},
|
||||
"usb_pd_mode": {
|
||||
"name": "Power Delivery 3.1 EPR"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -39,7 +39,6 @@ class IronOSSwitch(StrEnum):
|
||||
INVERT_BUTTONS = "invert_buttons"
|
||||
DISPLAY_INVERT = "display_invert"
|
||||
CALIBRATE_CJC = "calibrate_cjc"
|
||||
USB_PD_MODE = "usb_pd_mode"
|
||||
|
||||
|
||||
SWITCH_DESCRIPTIONS: tuple[IronOSSwitchEntityDescription, ...] = (
|
||||
@ -95,14 +94,6 @@ SWITCH_DESCRIPTIONS: tuple[IronOSSwitchEntityDescription, ...] = (
|
||||
entity_registry_enabled_default=False,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
IronOSSwitchEntityDescription(
|
||||
key=IronOSSwitch.USB_PD_MODE,
|
||||
translation_key=IronOSSwitch.USB_PD_MODE,
|
||||
characteristic=CharSetting.USB_PD_MODE,
|
||||
is_on_fn=lambda x: x.get("usb_pd_mode"),
|
||||
entity_registry_enabled_default=False,
|
||||
entity_category=EntityCategory.CONFIG,
|
||||
),
|
||||
)
|
||||
|
||||
|
||||
|
@ -2121,7 +2121,7 @@ pymsteams==0.1.12
|
||||
pymysensors==0.24.0
|
||||
|
||||
# homeassistant.components.iron_os
|
||||
pynecil==3.0.1
|
||||
pynecil==4.0.1
|
||||
|
||||
# homeassistant.components.netgear
|
||||
pynetgear==0.10.10
|
||||
|
@ -1726,7 +1726,7 @@ pymonoprice==0.4
|
||||
pymysensors==0.24.0
|
||||
|
||||
# homeassistant.components.iron_os
|
||||
pynecil==3.0.1
|
||||
pynecil==4.0.1
|
||||
|
||||
# homeassistant.components.netgear
|
||||
pynetgear==0.10.10
|
||||
|
@ -313,6 +313,15 @@
|
||||
'sleeping',
|
||||
'settings',
|
||||
'debug',
|
||||
'soldering_profile',
|
||||
'temperature_adjust',
|
||||
'usb_pd_debug',
|
||||
'thermal_runaway',
|
||||
'startup_logo',
|
||||
'cjc_calibration',
|
||||
'startup_warnings',
|
||||
'initialisation_done',
|
||||
'hibernating',
|
||||
]),
|
||||
}),
|
||||
'config_entry_id': <ANY>,
|
||||
@ -354,6 +363,15 @@
|
||||
'sleeping',
|
||||
'settings',
|
||||
'debug',
|
||||
'soldering_profile',
|
||||
'temperature_adjust',
|
||||
'usb_pd_debug',
|
||||
'thermal_runaway',
|
||||
'startup_logo',
|
||||
'cjc_calibration',
|
||||
'startup_warnings',
|
||||
'initialisation_done',
|
||||
'hibernating',
|
||||
]),
|
||||
}),
|
||||
'context': <ANY>,
|
||||
|
@ -275,52 +275,6 @@
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_switch_platform[switch.pinecil_power_delivery_3_1_epr-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
}),
|
||||
'area_id': None,
|
||||
'capabilities': None,
|
||||
'config_entry_id': <ANY>,
|
||||
'device_class': None,
|
||||
'device_id': <ANY>,
|
||||
'disabled_by': None,
|
||||
'domain': 'switch',
|
||||
'entity_category': <EntityCategory.CONFIG: 'config'>,
|
||||
'entity_id': 'switch.pinecil_power_delivery_3_1_epr',
|
||||
'has_entity_name': True,
|
||||
'hidden_by': None,
|
||||
'icon': None,
|
||||
'id': <ANY>,
|
||||
'labels': set({
|
||||
}),
|
||||
'name': None,
|
||||
'options': dict({
|
||||
}),
|
||||
'original_device_class': None,
|
||||
'original_icon': None,
|
||||
'original_name': 'Power Delivery 3.1 EPR',
|
||||
'platform': 'iron_os',
|
||||
'previous_unique_id': None,
|
||||
'supported_features': 0,
|
||||
'translation_key': <IronOSSwitch.USB_PD_MODE: 'usb_pd_mode'>,
|
||||
'unique_id': 'c0:ff:ee:c0:ff:ee_usb_pd_mode',
|
||||
'unit_of_measurement': None,
|
||||
})
|
||||
# ---
|
||||
# name: test_switch_platform[switch.pinecil_power_delivery_3_1_epr-state]
|
||||
StateSnapshot({
|
||||
'attributes': ReadOnlyDict({
|
||||
'friendly_name': 'Pinecil Power Delivery 3.1 EPR',
|
||||
}),
|
||||
'context': <ANY>,
|
||||
'entity_id': 'switch.pinecil_power_delivery_3_1_epr',
|
||||
'last_changed': <ANY>,
|
||||
'last_reported': <ANY>,
|
||||
'last_updated': <ANY>,
|
||||
'state': 'on',
|
||||
})
|
||||
# ---
|
||||
# name: test_switch_platform[switch.pinecil_swap_buttons-entry]
|
||||
EntityRegistryEntrySnapshot({
|
||||
'aliases': set({
|
||||
|
@ -66,7 +66,6 @@ async def test_switch_platform(
|
||||
("switch.pinecil_detailed_idle_screen", CharSetting.IDLE_SCREEN_DETAILS),
|
||||
("switch.pinecil_detailed_solder_screen", CharSetting.SOLDER_SCREEN_DETAILS),
|
||||
("switch.pinecil_invert_screen", CharSetting.DISPLAY_INVERT),
|
||||
("switch.pinecil_power_delivery_3_1_epr", CharSetting.USB_PD_MODE),
|
||||
("switch.pinecil_swap_buttons", CharSetting.INVERT_BUTTONS),
|
||||
],
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user