changed endpoint for getting automations by space

This commit is contained in:
hannathkadher
2025-03-14 12:53:29 +04:00
parent c2fc8fa0ae
commit 0673548745
8 changed files with 77 additions and 36 deletions
@@ -22,7 +22,7 @@ class SmartEnableAutomation extends StatelessWidget {
child: BlocBuilder<SceneBloc, SceneState>(
bloc: context.read<SceneBloc>()
..add(
LoadAutomation(HomeCubit.getInstance().selectedSpace?.id ?? '')),
LoadAutomation(HomeCubit.getInstance().selectedSpace?.id ?? '',HomeCubit.getInstance().selectedSpace?.community.uuid ?? '')),
builder: (context, state) {
if (state is SceneLoading) {
return const Align(