| OpenHAP::Characteristic(3p) | Perl Library Manual | OpenHAP::Characteristic(3p) |
NAME
OpenHAP::Characteristic - HAP characteristic definitions
SYNOPSIS
use OpenHAP::Characteristic;
my $char = OpenHAP::Characteristic->new(
type => 'CurrentTemperature',
iid => 13,
format => 'float',
perms => ['pr', 'ev'],
value => 21.5,
unit => 'celsius',
);
my $value = $char->get_value();
$char->set_value(22.0);
DESCRIPTION
This module represents HAP characteristics with their properties, values, and permissions.
SEE ALSO
spec/HAP-Characteristics.md
| 2026-07-27 | OpenBSD |