Skip to content

Commit

Permalink
Moving prox sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
EAGrahamJr committed May 8, 2024
1 parent 6ef033f commit 5161198
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions servomatic/src/main/kotlin/crackers/kobots/app/HAJunk.kt
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,6 @@ object HAJunk : Startable {
KobotAnalogSensor.Companion.AnalogDevice.DISTANCE,
unitOfMeasurement = "mm"
)
val ambientSensor = object : KobotAnalogSensor(
"ambient_light",
"Luminosity",
haIdentifier,
deviceClass = KobotAnalogSensor.Companion.AnalogDevice.ILLUMINANCE,
unitOfMeasurement = "lumens"
) {
override val icon = "mdi:lightbulb-alert"
}

private class ArmRotateHandler(val rotator: Rotator, val thing: String) :
KobotNumberEntity.Companion.NumberHandler {
Expand Down Expand Up @@ -173,7 +164,6 @@ object HAJunk : Startable {
bucketEntity.start()
commandSelectEntity.start()
tofSensor.start()
ambientSensor.start()
}

fun sendUpdatedStates() {
Expand Down

0 comments on commit 5161198

Please sign in to comment.