Closed smudge closed 4 years ago
Rather than this (named after the internal function, not the external use case):
pub fn enable(&self, enabled: bool) -> Result<(), String>
We now have:
pub fn on(&self) -> Result<(), String> pub fn off(&self) -> Result<(), String> pub fn toggle(&self, on: bool) -> Result<(), String>
Also set_temp now accepts an integer instead of a string, since only the CLI should care about parsing the input strings.
set_temp
Rather than this (named after the internal function, not the external use case):
We now have:
Also
set_temp
now accepts an integer instead of a string, since only the CLI should care about parsing the input strings.