|
@@ -153,7 +153,7 @@ end
|
|
|
|
|
|
if $ARGS[0] = 'vomiting_check':
|
|
|
!! if not one of these locations, event will not fire
|
|
|
- if $loc = $home['bedroom'] and (at_home = 1 or at_home = 2 or at_home = 3 or at_home = 4 or $loc = 'bedrPar' or at_home = 6 or at_home = 13 or at_home = 15 or $loc = 'mey_home'):
|
|
|
+ if $loc = func('homes_properties_attr', 'get_property_attribute', '$bedroom') and (func('homes_properties', 'is_at_a_home')):
|
|
|
gs 'wakeup_events', 'exit'
|
|
|
gs 'home_activity', 'vomiting_images'
|
|
|
gt 'home_activity', 'morning_vomit'
|