Skip to content

Commit

Permalink
Major update to 2023.4.4
Browse files Browse the repository at this point in the history
- Update HA to 2023.4.4
- Deactivated Local Tuya devices
- Updated HACS and components
- Switched from sun card (not maintained any more) to horizon card
- Deactivated not used esp devices
- Chandes update unit from minutes to min
- Changed toaster interval to 20 minutes
- Rain fixes (full logging via telegram)
  • Loading branch information
ChrLipp committed Apr 15, 2023
1 parent 7d4bf11 commit 8b3e3a9
Show file tree
Hide file tree
Showing 298 changed files with 3,745 additions and 2,081 deletions.
2 changes: 1 addition & 1 deletion config/.HA_VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2022.12.9
2023.4.4
12 changes: 9 additions & 3 deletions config/custom_components/hacs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

from .base import HacsBase
from .const import DOMAIN, MINIMUM_HA_VERSION, STARTUP
from .data_client import HacsDataClient
from .enums import ConfigurationType, HacsDisabledReason, HacsStage, LovelaceMode
from .frontend import async_register_frontend
from .utils.configuration_schema import hacs_config_combined
Expand Down Expand Up @@ -87,6 +88,10 @@ async def async_initialize_integration(
hacs.hass = hass
hacs.queue = QueueManager(hass=hass)
hacs.data = HacsData(hacs=hacs)
hacs.data_client = HacsDataClient(
session=clientsession,
client_name=f"HACS/{integration.version}",
)
hacs.system.running = True
hacs.session = clientsession

Expand Down Expand Up @@ -153,8 +158,9 @@ async def async_startup():
hacs.disable_hacs(HacsDisabledReason.RESTORE)
return False

can_update = await hacs.async_can_update()
hacs.log.debug("Can update %s repositories", can_update)
if not hacs.configuration.experimental:
can_update = await hacs.async_can_update()
hacs.log.debug("Can update %s repositories", can_update)

hacs.set_active_categories()

Expand All @@ -168,7 +174,7 @@ async def async_startup():
hacs.log.info("Update entities are only supported when using UI configuration")

else:
hass.config_entries.async_setup_platforms(
await hass.config_entries.async_forward_entry_setups(
config_entry,
[Platform.SENSOR, Platform.UPDATE]
if hacs.configuration.experimental
Expand Down
Loading

0 comments on commit 8b3e3a9

Please sign in to comment.