A non-transitory computer-readable recording medium which stores a program to be executed by an information apparatus having a display and being connected to a network, over which one or more target devices are controlled,
- the program causing a computer of the information apparatus to:
- display, on the display, a display screen representing a floor plan including one or more rooms;
- using at least one memory that associates first information with second information, the first information indicating a type of each of one or more device icons representing the one or more target devices and the second information indicating an attribute of each of the one or more rooms, display a first device icon of the one or more device icons in a region on the display screen corresponding to a first room of the one or more rooms, the first room corresponding to the first device icon of the one or more device icons in accordance with a type of the first device icon of the one or more device icons;
- when the displayed first device icon of the one or more device icons is selected in the region of the display screen corresponding to the first room of the one or more rooms included in the floor plan, display a control screen for at least one of an operation or state confirmation of a target device corresponding to the selected first device icon on the display screen representing the floor plan;
- and
- output, to the network, a control command for at least one of the operation or the state confirmation of the target device corresponding to the selected first device icon, based on an operation on the control screen,
- wherein it is determined, using the first information and the second information stored in the at least one memory, whether the first device icon of the one or more device icons corresponds to a plurality of rooms of the one or more rooms,
- when it is determined that the first device icon corresponds to the plurality of rooms of the one or more rooms, a largest room of the plurality of rooms of the one or more rooms is detected as the first room, and
- the first device icon is displayed in a region on the display screen corresponding to the detected largest room of the plurality rooms of the one or more rooms.