Skip to content

Commit 1cfea81

Browse files
committed
chore(bookings/room_sensor): tweak naming and timings
1 parent 4107204 commit 1cfea81

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

drivers/place/bookings/room_sensor.cr

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ class Place::Bookings::RoomSensor < PlaceOS::Driver
55
include Interface::Sensor
66

77
# Discovery Information
8-
descriptive_name "Area People Count"
8+
descriptive_name "Area Room Sensor"
9+
description "Exposes Area Management Areas as sensor data for use with the room events panel"
910
generic_name :Sensor
1011

1112
default_settings({
@@ -25,7 +26,7 @@ class Place::Bookings::RoomSensor < PlaceOS::Driver
2526
@area_id = setting?(String, :area_id) || config.control_system.not_nil!.map_id.as(String)
2627

2728
schedule.clear
28-
schedule.every(15.seconds + rand(1000).milliseconds) { update_sensor }
29+
schedule.every(10.seconds + rand(1000).milliseconds) { update_sensor }
2930
schedule.in(rand(200).milliseconds) { update_sensor }
3031
end
3132

0 commit comments

Comments
 (0)