rakuco initialize a sensor object: Explicitly require |options| to be a Sens…
b574bb9 Sep 26, 2022
initialize a sensor object: Explicitly require |options| to be a Sens…
…orOptions (#439)

This algorithm, invoked by the constructor of interfaces deriving from
`Sensor`, was accepting any dictionary. This meant it was possible, for
example, for any member (including `frequency`) to actually have any type
whatsoever.

Be more strict and require `options` to be a `SensorsOptions` instance, or
an instance of a dictionary inheriting from `SensorOptions`.
b574bb9