Updated everything recently and now my AppDaemon script that has been happily controlling my IKEA blinds for a good few years, is no longer working… the error I’m getting isn’t even reaching my code, so I’d appreciate any pointers as to what I’m going to need to re-do to get going again?
TIA
2025-05-31 12:54:49.639522 WARNING kitchen_sun_blind: Unexpected error during exec_schedule() for App: kitchen_sun_blind
2025-05-31 12:54:49.640328 WARNING kitchen_sun_blind: Args: {'name': 'kitchen_sun_blind', 'id': 'ce107da69c114908ae0a95eb80eaa6dc', 'callback': functools.partial(<bound method blinds_sun.weather_elevation_blind_update of <blinds_sun.blinds_sun object at 0x7fa4386d1f10>>, blind_entity='cover.kitchen_sun_blinds', weather_entity='sensor.market_harborough_weather', temperature_entity='sensor.market_harborough_temperature'), 'timestamp': datetime.datetime(2025, 5, 31, 11, 54, 49, 625830, tzinfo=<UTC>), 'interval': 0, 'basetime': datetime.datetime(2025, 5, 31, 11, 54, 49, 625830, tzinfo=<UTC>), 'basetime_interval': 4, 'repeat': False, 'offset': 0, 'type': None, 'pin_app': True, 'pin_thread': 5, 'kwargs': {}}
2025-05-31 12:54:49.642758 WARNING kitchen_sun_blind: ------------------------------------------------------------
2025-05-31 12:54:49.644078 WARNING kitchen_sun_blind: Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/appdaemon/scheduler.py", line 338, in exec_schedule
await self.AD.threading.dispatch_worker(
File "/usr/lib/python3.12/site-packages/appdaemon/threads.py", line 848, in dispatch_worker
constrained = await self.check_constraint(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/appdaemon/threads.py", line 633, in check_constraint
unconstrained = await utils.run_async_sync_func(self, method, value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/appdaemon/utils.py", line 601, in run_async_sync_func
result = await run_in_executor(self, method, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/appdaemon/utils.py", line 554, in run_in_executor
return await future
^^^^^^^^^^^^
File "/usr/lib/python3.12/concurrent/futures/thread.py", line 59, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/site-packages/appdaemon/plugins/hass/hassapi.py", line 414, in constrain_input_select
assert isinstance(value, list) and all(isinstance(v, str) for v in value)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError