add structs for Thermometer and PowerSocket; add Device trait

This commit is contained in:
7 changed files with 130 additions and 10 deletions

View File

@@ -1 +1,3 @@
mod device;
mod house;
mod room;