rooms
An array of the rooms created and managed by the user.
Declaration
var rooms: [HMRoom] { get }Discussion
Each HMHome instance has an immutable default room — returned by the roomForEntireHome() method — to hold accessories that the user hasn’t assigned to a specific room. Unlike user-managed rooms, the default room doesn’t appear in the rooms array.