| 182 | } |
| 183 | |
| 184 | bool Sensor::hasLEDIndication() const |
| 185 | { |
| 186 | return state.getValue().at("config").count("ledindication") != 0; |
| 187 | } |
| 188 | bool Sensor::getLEDIndication() const |
| 189 | { |
| 190 | return state.getValue().at("config").at("ledindication").get<bool>(); |